/ mlflow / server / js / knip.jsonc
knip.jsonc
 1  {
 2    "$schema": "https://unpkg.com/knip@6/schema-jsonc.json",
 3    "entry": [
 4      // Main entry point
 5      "src/index.tsx",
 6  
 7      // Setup files
 8      "src/setupProxy.js",
 9      "src/setupTests.js",
10  
11      // GraphQL codegen files
12      "src/graphql/graphql-codegen.ts",
13      "src/graphql/generated_graphql.ts",
14  
15      // Feature store MFE entry points
16      "src/feature-store/index.tsx",
17      "src/feature-store/mfe/prefetch.ts",
18      "src/feature-store/mfe/register.tsx",
19      "src/feature-store/mfe/set-public-path.ts",
20  
21      // Cross-MFE exports consumed by webapp via runtime import
22      "src/ai-gateway/external-components/AiGatewayLlmContent.tsx",
23  
24      // MFE entry points
25      "src/mfe/prefetch.ts",
26      "src/mfe/public-path-utils.ts",
27      "src/mfe/register.tsx",
28      "src/mfe/set-public-path.ts",
29  
30      // Test and storybook files
31      "**/*.test.{js,jsx,ts,tsx}",
32      "**/*.stories.{js,jsx,ts,tsx}",
33    ],
34    // Only warn on unused files and exports
35    "include": ["files", "exports"],
36    "ignore": [
37      "**/*.d.ts",
38      "src/shared/{databricks_edge,web-shared}/**/*.{js,jsx,ts,tsx}",
39      "**/*.{js,jsx,ts,tsx}",
40      "**/*/**",
41    ],
42    "project": ["src/**/*.{js,jsx,ts,tsx}"],
43    // Disable Storybook plugin because we configure Storybook files ourselves
44    "storybook": { "config": [] },
45  }