-
Notifications
You must be signed in to change notification settings - Fork 742
Expand file tree
/
Copy pathdoctor.config.json
More file actions
44 lines (44 loc) · 1.3 KB
/
Copy pathdoctor.config.json
File metadata and controls
44 lines (44 loc) · 1.3 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
{
"$schema": "https://react.doctor/schema/config.json",
"categories": {
"Security": "off",
"Bugs": "off",
"Performance": "off",
"Accessibility": "off",
"Maintainability": "off"
},
"rules": {
"react-doctor/jsx-key": "error",
"react-doctor/no-impure-state-updater": "error",
"react-doctor/no-side-effect-in-state-updater-function": "error",
"react-doctor/no-direct-state-mutation": "error",
"react-doctor/no-mutating-array-method-on-prop-or-hook-result": "error",
"react-doctor/no-adjust-state-on-prop-change": "error",
"react-doctor/no-derived-state": "error",
"react-doctor/no-derived-state-effect": "error",
"react-doctor/no-initialize-state": "error",
"react-doctor/no-effect-chain": "error",
"react-doctor/no-set-state-after-await-in-effect": "error",
"react-doctor/no-create-object-url-without-revoke": "error",
"react-doctor/query-no-query-in-effect": "error"
},
"ignore": {
"files": [
"public/**",
"playwright/**",
"vitest/**",
"deploy/**",
"tools/**",
"**/*.pw.tsx",
"**/*.spec.ts",
"**/*.spec.tsx"
]
},
"projects": [ "." ],
"warnings": false,
"blocking": "error",
"adoptExistingLintConfig": false,
"noScore": true,
"share": false,
"supplyChain": { "enabled": false }
}