|
15 | 15 | "sourceType": "module"
|
16 | 16 | },
|
17 | 17 | "rules": {
|
18 |
| - "accessor-pairs": "error", |
19 |
| - "array-bracket-spacing": "off", |
20 |
| - "array-callback-return": "off", |
21 |
| - "arrow-body-style": "error", |
22 |
| - "arrow-parens": "off", |
23 |
| - "arrow-spacing": [ |
24 |
| - "error", |
25 |
| - { |
26 |
| - "after": true, |
27 |
| - "before": true |
28 |
| - } |
29 |
| - ], |
30 |
| - "block-scoped-var": "off", |
31 |
| - "block-spacing": "off", |
32 |
| - "brace-style": "off", |
33 |
| - "callback-return": "off", |
34 |
| - "camelcase": "off", |
35 |
| - "capitalized-comments": "off", |
| 18 | + "@typescript-eslint/no-unused-vars": "error", |
| 19 | + "@typescript-eslint/no-explicit-any": "off", |
| 20 | + "@typescript-eslint/no-non-null-assertion": "off", |
| 21 | + "@typescript-eslint/explicit-module-boundary-types": "off", |
| 22 | + "@typescript-eslint/ban-ts-comment": "off", |
36 | 23 | "class-methods-use-this": "error",
|
37 |
| - "comma-dangle": "off", |
38 |
| - "comma-spacing": "off", |
39 |
| - "comma-style": "off", |
40 |
| - "complexity": "off", |
41 |
| - "computed-property-spacing": "off", |
42 |
| - "consistent-return": "off", |
43 |
| - "consistent-this": "off", |
44 |
| - "curly": "off", |
45 | 24 | "default-case": "error",
|
46 |
| - "dot-location": ["error", "property"], |
47 |
| - "dot-notation": "off", |
48 |
| - "eol-last": ["error", "always"], |
49 |
| - "eqeqeq": "off", |
50 |
| - "func-call-spacing": "off", |
51 | 25 | "func-name-matching": "error",
|
52 |
| - "func-names": "off", |
53 |
| - "func-style": "off", |
54 |
| - "generator-star-spacing": "error", |
55 |
| - "global-require": "off", |
56 |
| - "guard-for-in": "off", |
57 |
| - "handle-callback-err": "off", |
58 |
| - "id-blacklist": "error", |
59 |
| - "id-length": "off", |
60 |
| - "id-match": "error", |
61 |
| - "indent": ["error", 2], |
62 |
| - "init-declarations": "off", |
63 |
| - "jsx-quotes": "error", |
64 |
| - "key-spacing": "off", |
65 |
| - "keyword-spacing": "off", |
66 |
| - "line-comment-position": "off", |
67 |
| - "linebreak-style": "off", |
68 |
| - "lines-around-comment": "off", |
69 |
| - "lines-around-directive": "off", |
70 |
| - "max-depth": "off", |
71 |
| - "max-len": "off", |
72 |
| - "max-lines": "off", |
73 | 26 | "max-nested-callbacks": "error",
|
74 |
| - "max-params": "off", |
75 |
| - "max-statements": "off", |
76 |
| - "max-statements-per-line": "off", |
77 |
| - "multiline-ternary": "off", |
78 |
| - "new-parens": "error", |
79 |
| - "newline-after-var": "off", |
80 |
| - "newline-before-return": "off", |
81 |
| - "newline-per-chained-call": "off", |
82 | 27 | "no-alert": "error",
|
83 | 28 | "no-array-constructor": "error",
|
84 |
| - "no-await-in-loop": "error", |
85 |
| - "no-bitwise": "off", |
86 | 29 | "no-caller": "error",
|
87 |
| - "no-catch-shadow": "off", |
88 |
| - "no-compare-neg-zero": "error", |
89 |
| - "no-confusing-arrow": "off", |
90 |
| - "no-continue": "off", |
91 | 30 | "no-console": "warn",
|
92 |
| - "no-div-regex": "error", |
93 | 31 | "no-duplicate-imports": "error",
|
94 |
| - "no-else-return": "off", |
95 | 32 | "no-empty": [
|
96 | 33 | "error",
|
97 | 34 | {
|
98 | 35 | "allowEmptyCatch": true
|
99 | 36 | }
|
100 | 37 | ],
|
101 |
| - "no-empty-function": "off", |
102 |
| - "no-eq-null": "off", |
103 |
| - "no-eval": "off", |
104 | 38 | "no-extend-native": "error",
|
105 |
| - "no-extra-bind": "error", |
106 | 39 | "no-extra-label": "error",
|
107 |
| - "no-extra-parens": "off", |
108 |
| - "no-floating-decimal": "error", |
109 |
| - "no-extra-boolean-cast": "warn", |
110 |
| - "no-implicit-coercion": [ |
111 |
| - "error", |
112 |
| - { |
113 |
| - "boolean": false, |
114 |
| - "number": false, |
115 |
| - "string": false |
116 |
| - } |
117 |
| - ], |
118 | 40 | "no-implicit-globals": "error",
|
119 | 41 | "no-implied-eval": "error",
|
120 |
| - "no-inline-comments": "off", |
121 |
| - "no-inner-declarations": ["error", "functions"], |
122 |
| - "no-invalid-this": "off", |
123 | 42 | "no-iterator": "error",
|
124 | 43 | "no-label-var": "error",
|
125 | 44 | "no-labels": "error",
|
126 | 45 | "no-lone-blocks": "error",
|
127 |
| - "no-lonely-if": "off", |
128 | 46 | "no-loop-func": "error",
|
129 |
| - "no-magic-numbers": "off", |
130 |
| - "no-mixed-operators": "off", |
131 |
| - "no-mixed-requires": "off", |
132 |
| - "no-multi-assign": "off", |
133 |
| - "no-multi-spaces": "off", |
134 | 47 | "no-multi-str": "error",
|
135 |
| - "no-multiple-empty-lines": "off", |
136 |
| - "no-native-reassign": "error", |
137 |
| - "no-negated-condition": "off", |
138 |
| - "no-negated-in-lhs": "error", |
139 |
| - "no-nested-ternary": "off", |
140 | 48 | "no-new": "error",
|
141 |
| - "no-new-func": "off", |
142 | 49 | "no-new-object": "error",
|
143 |
| - "no-new-require": "error", |
144 | 50 | "no-new-wrappers": "error",
|
145 | 51 | "no-octal-escape": "error",
|
146 |
| - "no-param-reassign": "off", |
147 |
| - "no-path-concat": "error", |
148 |
| - "no-plusplus": "off", |
149 |
| - "no-process-env": "off", |
150 |
| - "no-process-exit": "off", |
151 | 52 | "no-proto": "error",
|
152 |
| - "no-prototype-builtins": "off", |
153 | 53 | "no-restricted-globals": "error",
|
154 | 54 | "no-restricted-imports": "error",
|
155 |
| - "no-restricted-modules": "error", |
156 | 55 | "no-restricted-properties": "error",
|
157 | 56 | "no-restricted-syntax": "error",
|
158 |
| - "no-return-assign": "off", |
159 | 57 | "no-return-await": "error",
|
160 | 58 | "no-script-url": "error",
|
161 |
| - "no-self-compare": "off", |
162 |
| - "no-sequences": "off", |
163 |
| - "no-shadow": "off", |
164 |
| - "no-shadow-restricted-names": "off", |
165 |
| - "no-spaced-func": "off", |
166 |
| - "no-sync": "off", |
167 |
| - "no-tabs": "off", |
168 |
| - "no-template-curly-in-string": "off", |
169 |
| - "no-ternary": "off", |
170 |
| - "no-throw-literal": "off", |
171 |
| - "no-trailing-spaces": "error", |
172 |
| - "no-undef-init": "off", |
173 |
| - "no-undefined": "off", |
174 |
| - "no-undef": "off", |
175 |
| - "no-underscore-dangle": "off", |
176 |
| - "no-unmodified-loop-condition": "off", |
177 |
| - "no-unneeded-ternary": "off", |
178 |
| - "no-unused-expressions": "off", |
179 |
| - "no-unused-vars": "error", |
180 |
| - "no-use-before-define": "off", |
181 |
| - "no-useless-call": "off", |
182 |
| - "no-useless-computed-key": "error", |
183 |
| - "no-useless-concat": "off", |
184 | 59 | "no-useless-constructor": "error",
|
185 |
| - "no-useless-escape": "off", |
186 |
| - "no-useless-rename": "error", |
187 | 60 | "no-useless-return": "error",
|
188 |
| - "no-var": "error", |
189 |
| - "no-void": "off", |
190 | 61 | "no-warning-comments": "error",
|
191 |
| - "no-whitespace-before-property": "error", |
192 |
| - "no-with": "error", |
193 |
| - "nonblock-statement-body-position": ["error", "any"], |
194 |
| - "object-curly-newline": "off", |
195 |
| - "object-curly-spacing": "off", |
196 |
| - "object-property-newline": "off", |
197 |
| - "object-shorthand": "off", |
198 |
| - "one-var": "off", |
199 |
| - "one-var-declaration-per-line": "off", |
200 |
| - "operator-assignment": "off", |
201 |
| - "operator-linebreak": "off", |
202 |
| - "padded-blocks": "off", |
203 |
| - "prefer-arrow-callback": "error", |
204 |
| - "prefer-const": "error", |
205 |
| - "prefer-destructuring": [ |
206 |
| - "error", |
207 |
| - { |
208 |
| - "array": false, |
209 |
| - "object": false |
210 |
| - } |
211 |
| - ], |
212 |
| - "prefer-numeric-literals": "error", |
213 | 62 | "prefer-promise-reject-errors": "error",
|
214 |
| - "prefer-reflect": "off", |
215 |
| - "prefer-rest-params": "off", |
216 |
| - "prefer-spread": "off", |
217 |
| - "prefer-template": "off", |
218 |
| - "quote-props": "off", |
219 |
| - "quotes": "off", |
220 |
| - "radix": ["error", "always"], |
221 | 63 | "require-await": "error",
|
222 |
| - "require-jsdoc": "off", |
223 |
| - "rest-spread-spacing": "error", |
224 |
| - "semi": ["error", "always"], |
225 |
| - "semi-spacing": "off", |
226 |
| - "sort-imports": "error", |
227 |
| - "sort-keys": "off", |
228 |
| - "sort-vars": "off", |
229 |
| - "space-before-blocks": "off", |
230 |
| - "space-before-function-paren": "off", |
231 |
| - "space-in-parens": "off", |
232 |
| - "space-infix-ops": "off", |
233 |
| - "spaced-comment": "off", |
234 |
| - "strict": "off", |
235 |
| - "symbol-description": "error", |
236 |
| - "template-curly-spacing": ["error", "never"], |
237 |
| - "template-tag-spacing": "error", |
238 |
| - "unicode-bom": ["error", "never"], |
239 |
| - "valid-jsdoc": "off", |
240 |
| - "valid-typeof": [ |
241 |
| - "error", |
242 |
| - { |
243 |
| - "requireStringLiterals": false |
244 |
| - } |
245 |
| - ], |
246 |
| - "vars-on-top": "off", |
247 |
| - "wrap-iife": "off", |
248 |
| - "wrap-regex": "off", |
249 |
| - "yield-star-spacing": "error", |
250 |
| - "yoda": "off" |
| 64 | + "symbol-description": "error" |
251 | 65 | }
|
252 | 66 | }
|
0 commit comments