-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathknip.json
More file actions
72 lines (72 loc) · 1.85 KB
/
Copy pathknip.json
File metadata and controls
72 lines (72 loc) · 1.85 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"$schema": "https://unpkg.com/knip@latest/schema.json",
"entry": [
"src/index.js",
"src/contexts/*.js",
"src/utils/hooks.js",
"src/utils/functions.js",
"src/constants/*.js",
"stories/**/*.js"
],
"project": ["src/**/*.js"],
"ignore": [
"src/__tests__/**",
"src/__test_helpers__/**",
"src/components/ResponsiveContent.js",
"src/components/Settings/Button.js"
],
"ignoreDependencies": [
"@babel/helper-builder-react-jsx-experimental",
"core-js",
"regenerator-runtime",
"@babel/plugin-transform-react-jsx",
"@babel/plugin-transform-react-jsx-development",
"@commitlint/cli",
"@commitlint/config-conventional",
"@mdx-js/loader",
"@storybook/addon-storysource",
"@storybook/theming",
"husky",
"sass",
"@storybook/source-loader",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-private-methods",
"@storybook/addon-actions",
"@storybook/addon-docs",
"@floating-ui/react"
],
"ignoreExportsUsedInFile": true,
"rules": {
"unlisted": "warn"
},
"includeEntryExports": true,
"ignoreIssues": {
"src/contexts/*.js": ["exports"],
"src/utils/hooks.js": ["exports"],
"src/utils/functions.js": ["exports"],
"src/constants/*.js": ["exports"],
"index.d.ts": ["exports", "types"],
"jest.config.js": ["unresolved"]
},
"ignoreUnresolved": [".*/builderContext\\.js", ".*/propContext\\.js"],
"storybook": {
"config": [".storybook/main.js"],
"entry": ["stories/**/*.@(js|mdx)"]
},
"eslint": true,
"jest": {
"config": ["jest.config.js"]
},
"rollup": {
"config": ["rollup.*.config.js"]
},
"babel": {
"config": ["babel.config.js"]
},
"commitlint": {
"config": [".commitlintrc", ".commitlintrc.json", "commitlint.config.js"]
},
"husky": {
"config": [".huskyrc", ".huskyrc.json"]
}
}