|
6 | 6 | "useIgnoreFile": true |
7 | 7 | }, |
8 | 8 | "files": { |
9 | | - "ignoreUnknown": false, |
10 | | - "ignore": ["node_modules", "dist", "build", "*.min.js", "*.bundle.js"] |
| 9 | + "ignoreUnknown": false |
11 | 10 | }, |
12 | 11 | "formatter": { |
13 | 12 | "enabled": true, |
|
18 | 17 | "lineWidth": 120, |
19 | 18 | "attributePosition": "auto" |
20 | 19 | }, |
21 | | - "organizeImports": { |
22 | | - "enabled": true |
23 | | - }, |
24 | 20 | "linter": { |
25 | 21 | "enabled": true, |
26 | 22 | "rules": { |
|
31 | 27 | "useKeyWithMouseEvents": "off", |
32 | 28 | "useValidAnchor": "warn", |
33 | 29 | "useAltText": "warn", |
34 | | - "useAriaPropsForRole": "warn", |
35 | | - "useAriaProptypes": "warn", |
36 | | - "useAriaProps": "warn" |
| 30 | + "useAriaPropsForRole": "warn" |
37 | 31 | }, |
38 | 32 | "complexity": { |
39 | 33 | "recommended": true, |
40 | | - "noForEach": "off" |
| 34 | + "noForEach": "off", |
| 35 | + "useArrowFunction": "error" |
41 | 36 | }, |
42 | 37 | "correctness": { |
43 | 38 | "recommended": true, |
44 | 39 | "noUnusedVariables": "warn", |
45 | 40 | "noUnusedImports": "error", |
46 | 41 | "noUnusedPrivateClassMembers": "warn", |
47 | | - "useExhaustiveDependencies": "warn", |
48 | | - "useHookAtTopLevel": "error" |
| 42 | + "useExhaustiveDependencies": "off", |
| 43 | + "useHookAtTopLevel": "error", |
| 44 | + "noUnreachable": "error" |
49 | 45 | }, |
50 | 46 | "performance": { |
51 | 47 | "recommended": true |
|
55 | 51 | }, |
56 | 52 | "style": { |
57 | 53 | "recommended": true, |
58 | | - "noVar": "error", |
59 | 54 | "useConst": "error", |
60 | 55 | "useTemplate": "error", |
61 | | - "useArrowFunction": "error", |
62 | | - "useShorthandArrayType": "error", |
63 | 56 | "useShorthandAssign": "error", |
64 | | - "useSingleCaseStatement": "error", |
65 | | - "useSingleVarDeclarator": "error", |
66 | 57 | "useBlockStatements": "error", |
67 | | - "useConstAssertions": "off", |
68 | 58 | "useDefaultParameterLast": "error", |
69 | 59 | "useExponentiationOperator": "error", |
70 | 60 | "useFragmentSyntax": "error", |
|
73 | 63 | }, |
74 | 64 | "useNodejsImportProtocol": "off", |
75 | 65 | "useNumberNamespace": "error", |
76 | | - "useNumericLiterals": "error", |
77 | 66 | "useSelfClosingElements": "error", |
78 | 67 | "useShorthandFunctionType": "error", |
79 | | - "useSingleClassPerFile": "off", |
80 | 68 | "useImportType": "error" |
81 | 69 | }, |
82 | 70 | "suspicious": { |
|
88 | 76 | "noDuplicateObjectKeys": "error", |
89 | 77 | "noDuplicateParameters": "error", |
90 | 78 | "noEmptyBlockStatements": "warn", |
91 | | - "noExtraBooleanCast": "error", |
92 | 79 | "noFallthroughSwitchClause": "error", |
93 | 80 | "noPrototypeBuiltins": "error", |
94 | 81 | "noRedeclare": "error", |
95 | 82 | "noShadowRestrictedNames": "error", |
96 | | - "noUnreachable": "error", |
97 | 83 | "noUnsafeNegation": "error", |
98 | | - "useGetterReturn": "error", |
99 | | - "useValidTypeof": "error" |
| 84 | + "noVar": "error", |
| 85 | + "useGetterReturn": "error" |
100 | 86 | }, |
101 | 87 | "nursery": { |
102 | 88 | "useSortedClasses": "off" |
|
126 | 112 | }, |
127 | 113 | "overrides": [ |
128 | 114 | { |
129 | | - "include": ["*.ts", "*.tsx"], |
| 115 | + "includes": ["*.ts", "*.tsx"], |
130 | 116 | "linter": { |
131 | 117 | "rules": { |
132 | 118 | "correctness": { |
|
0 commit comments