forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreact-doctor.config.json
More file actions
33 lines (33 loc) · 838 Bytes
/
Copy pathreact-doctor.config.json
File metadata and controls
33 lines (33 loc) · 838 Bytes
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
{
"ignore": {
"rules": ["react-doctor/effect-needs-cleanup"],
"files": [
".dumi/**",
"docs/**",
"tests/**",
"scripts/**",
"**/demo/**",
"**/__tests__/**",
"**/*.md"
],
"overrides": [
{
"files": [".dumi/theme/utils/renderReactToHTML.tsx", "components/upload/Upload.tsx"],
"rules": ["react/dom-no-flush-sync", "react-dom/no-flush-sync"]
},
{
"files": ["components/splitter/SplitBar.tsx"],
"rules": [
"react/web-api-no-leaked-event-listener",
"react-web-api/no-leaked-event-listener"
]
},
{
"files": ["components/form/Form.tsx", "components/input/Input.tsx"],
"rules": ["react-hooks/rules-of-hooks"]
}
]
},
"failOn": "none",
"adoptExistingLintConfig": true
}