-
Notifications
You must be signed in to change notification settings - Fork 18
/
.knip.jsonc
30 lines (28 loc) · 990 Bytes
/
.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": [
"public/scrivito/**",
"src/assets/stylesheets/vendor/**",
"vendor/**",
],
"ignoreBinaries": ["break"], // Lighthouse false positive
"ignoreDependencies": [
"@cloudflare/workers-types", // used by functions/*
"local-web-server", // used by Lighthouse
// used by eslint.config.mjs; Workaround for https://github.com/webpro-nl/knip/issues/818
"@arabasta/eslint-plugin-require-useeffect-dependency-array",
"eslint-plugin-import",
"eslint-plugin-react",
"eslint-plugin-react-hooks",
],
"project": ["**/*.{js,ts,tsx}"],
}