-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.knip.jsonc
30 lines (28 loc) · 1.01 KB
/
.knip.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"entry": [
"src/main.tsx",
"src/scrivitoExtensions.tsx",
"src/dumpContent.ts",
"functions/auth/*.ts",
// Workaround for https://github.com/webpro-nl/knip/issues/168
"src/Data/**/*{DataClass,DataItem,EditingConfig}.{ts,tsx}",
"src/Objs/**/*{Component,EditingConfig,LayoutComponent,ObjClass}.{ts,tsx}",
"src/Widgets/**/*{Component,EditingConfig,WidgetClass}.{ts,tsx}",
],
"ignore": [
"src/Data/localStorageDataConnection.ts", // TODO: Remove from knip, once searchLocalStorageDataConnections is in use
"public/scrivito/**",
"src/assets/stylesheets/vendor/**",
"vendor/**",
],
"ignoreBinaries": ["break"], // Lighthouse false positive
"ignoreDependencies": [
"@cloudflare/workers-types", // used by functions/*
// used by eslint.config.mjs; Workaround for https://github.com/webpro-nl/knip/issues/818
"@arabasta/eslint-plugin-react",
"eslint-plugin-import",
"eslint-plugin-react",
"eslint-plugin-react-hooks",
],
"project": ["**/*.{js,ts,tsx}"],
}