eslint-config-everything 0.0.0 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of eslint-config-everything might be problematic. Click here for more details.

Files changed (68) hide show
  1. package/LICENSE +21 -201
  2. package/README.md +3 -185
  3. package/dist/chunk-7D4SUZUM.js +38 -0
  4. package/dist/chunk-7D4SUZUM.js.map +1 -0
  5. package/dist/chunk-C6JVFMYP.js +10 -0
  6. package/dist/chunk-C6JVFMYP.js.map +1 -0
  7. package/dist/chunk-E2655ZCO.js +3002 -0
  8. package/dist/chunk-E2655ZCO.js.map +1 -0
  9. package/dist/chunk-GVUZG6ZQ.js +12 -0
  10. package/dist/chunk-GVUZG6ZQ.js.map +1 -0
  11. package/dist/chunk-PVAW4WM4.js +20 -0
  12. package/dist/chunk-PVAW4WM4.js.map +1 -0
  13. package/dist/chunk-QNQK35CH.js +49 -0
  14. package/dist/chunk-QNQK35CH.js.map +1 -0
  15. package/dist/chunk-R4EOV26M.js +9 -0
  16. package/dist/chunk-R4EOV26M.js.map +1 -0
  17. package/dist/chunk-S5OOXTIG.js +347 -0
  18. package/dist/chunk-S5OOXTIG.js.map +1 -0
  19. package/dist/chunk-V6SEZAWA.js +11 -0
  20. package/dist/chunk-V6SEZAWA.js.map +1 -0
  21. package/dist/chunk-Z5K3Z7QL.js +7693 -0
  22. package/dist/chunk-Z5K3Z7QL.js.map +1 -0
  23. package/dist/configs/javascript.d.ts +15 -0
  24. package/dist/configs/javascript.js +12 -0
  25. package/dist/configs/javascript.js.map +1 -0
  26. package/dist/configs/next.d.ts +55 -0
  27. package/dist/configs/next.js +15 -0
  28. package/dist/configs/next.js.map +1 -0
  29. package/dist/configs/react-internal.d.ts +43 -0
  30. package/dist/configs/react-internal.js +15 -0
  31. package/dist/configs/react-internal.js.map +1 -0
  32. package/dist/configs/turbo.d.ts +35 -0
  33. package/dist/configs/turbo.js +39 -0
  34. package/dist/configs/turbo.js.map +1 -0
  35. package/dist/configs/typescript.d.ts +15 -0
  36. package/dist/configs/typescript.js +20 -0
  37. package/dist/configs/typescript.js.map +1 -0
  38. package/dist/index.d.ts +15 -0
  39. package/dist/index.js +22 -0
  40. package/dist/index.js.map +1 -0
  41. package/dist/objects/base.d.ts +7 -0
  42. package/dist/objects/base.js +8 -0
  43. package/dist/objects/base.js.map +1 -0
  44. package/dist/objects/ignores.d.ts +5 -0
  45. package/dist/objects/ignores.js +8 -0
  46. package/dist/objects/ignores.js.map +1 -0
  47. package/dist/objects/onlyWarn.d.ts +9 -0
  48. package/dist/objects/onlyWarn.js +8 -0
  49. package/dist/objects/onlyWarn.js.map +1 -0
  50. package/dist/objects/perfectionist.d.ts +7 -0
  51. package/dist/objects/perfectionist.js +8 -0
  52. package/dist/objects/perfectionist.js.map +1 -0
  53. package/dist/rules/base.d.ts +432 -0
  54. package/dist/rules/base.js +437 -0
  55. package/dist/rules/base.js.map +1 -0
  56. package/dist/rules/typescript.d.ts +121 -0
  57. package/dist/rules/typescript.js +126 -0
  58. package/dist/rules/typescript.js.map +1 -0
  59. package/package.json +43 -32
  60. package/.editorconfig +0 -10
  61. package/.gitattributes +0 -4
  62. package/.prettierrc +0 -6
  63. package/.yarn/sdks/integrations.yml +0 -5
  64. package/.yarn/sdks/prettier/bin/prettier.cjs +0 -32
  65. package/.yarn/sdks/prettier/index.cjs +0 -32
  66. package/.yarn/sdks/prettier/package.json +0 -7
  67. package/.yarnrc.yml +0 -1
  68. package/eslint.config.js +0 -198
@@ -0,0 +1,437 @@
1
+ import "../chunk-7D4SUZUM.js";
2
+
3
+ // src/rules/base.js
4
+ var baseRules = {
5
+ /**
6
+ * Require return statements in array methods callbacks.
7
+ *
8
+ * 🚫 Not fixable -https://eslint.org/docs/rules/array-callback-return
9
+ */
10
+ "array-callback-return": [
11
+ "error",
12
+ { allowImplicit: true, checkForEach: true }
13
+ ],
14
+ /**
15
+ * Treat `var` statements as if they were block scoped.
16
+ *
17
+ * 🚫 Not fixable - https://eslint.org/docs/rules/block-scoped-var
18
+ */
19
+ "block-scoped-var": "error",
20
+ /**
21
+ * Require camel case names.
22
+ *
23
+ * 🚫 Not fixable - https://eslint.org/docs/rules/camelcase
24
+ */
25
+ camelcase: [
26
+ "error",
27
+ { allow: ["^UNSAFE_"], ignoreDestructuring: false, properties: "never" }
28
+ ],
29
+ /**
30
+ * Require curly braces for multiline blocks.
31
+ *
32
+ * 🔧 Fixable - https://eslint.org/docs/rules/curly
33
+ */
34
+ curly: ["warn", "multi-line"],
35
+ /**
36
+ * Require default clauses in switch statements to be last (if used).
37
+ *
38
+ * 🚫 Not fixable - https://eslint.org/docs/rules/default-case-last
39
+ */
40
+ "default-case-last": "error",
41
+ /**
42
+ * Require triple equals (`===` and `!==`).
43
+ *
44
+ * 🔧 Fixable - https://eslint.org/docs/rules/eqeqeq
45
+ */
46
+ eqeqeq: "error",
47
+ "for-direction": "error",
48
+ /**
49
+ * Require function expressions to have a name.
50
+ *
51
+ * 🚫 Not fixable - https://eslint.org/docs/rules/func-names
52
+ */
53
+ "func-names": ["error", "as-needed"],
54
+ /**
55
+ * Require grouped accessor pairs in object literals and classes.
56
+ *
57
+ * 🚫 Not fixable - https://eslint.org/docs/rules/grouped-accessor-pairs
58
+ */
59
+ "grouped-accessor-pairs": "error",
60
+ /**
61
+ * Require a capital letter for constructors.
62
+ *
63
+ * 🚫 Not fixable - https://eslint.org/docs/rules/new-cap
64
+ */
65
+ "new-cap": ["error", { capIsNew: false }],
66
+ /**
67
+ * Disallow the omission of parentheses when invoking a constructor with
68
+ * no arguments.
69
+ *
70
+ * 🔧 Fixable - https://eslint.org/docs/rules/new-parens
71
+ */
72
+ "new-parens": "warn",
73
+ /**
74
+ * Disallow use of `alert()`.
75
+ *
76
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-alert
77
+ */
78
+ "no-alert": "error",
79
+ "no-async-promise-executor": "error",
80
+ /**
81
+ * Disallow use of bitwise operators.
82
+ *
83
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-bitwise
84
+ */
85
+ "no-bitwise": "error",
86
+ /**
87
+ * Disallow use of `caller`/`callee`.
88
+ *
89
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-caller
90
+ */
91
+ "no-caller": "error",
92
+ "no-case-declarations": "error",
93
+ "no-compare-neg-zero": "error",
94
+ "no-cond-assign": "error",
95
+ /**
96
+ * Disallow the use of console.
97
+ *
98
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-console
99
+ */
100
+ "no-console": ["error", { allow: ["info", "warn", "error"] }],
101
+ /**
102
+ * Disallow expressions where the operation doesn't affect the value.
103
+ *
104
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-console
105
+ */
106
+ "no-constant-binary-expression": "error",
107
+ "no-constant-condition": "error",
108
+ /**
109
+ * Disallow returning value in constructor.
110
+ *
111
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-constructor-return
112
+ */
113
+ "no-constructor-return": "error",
114
+ "no-control-regex": "error",
115
+ "no-debugger": "error",
116
+ "no-delete-var": "error",
117
+ "no-dupe-else-if": "error",
118
+ "no-duplicate-case": "error",
119
+ /**
120
+ * Disallow using an `else` if the `if` block contains a return.
121
+ *
122
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-else-return
123
+ */
124
+ "no-else-return": "warn",
125
+ "no-empty": "error",
126
+ "no-empty-character-class": "error",
127
+ "no-empty-pattern": "error",
128
+ "no-empty-static-block": "error",
129
+ /**
130
+ * Disallow `eval()`.
131
+ *
132
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-eval
133
+ */
134
+ "no-eval": "error",
135
+ "no-ex-assign": "error",
136
+ /**
137
+ * Disallow extending native objects.
138
+ *
139
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-extend-native
140
+ */
141
+ "no-extend-native": "error",
142
+ /**
143
+ * Disallow unnecessary function binding.
144
+ *
145
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-extra-bind
146
+ */
147
+ "no-extra-bind": "error",
148
+ "no-extra-boolean-cast": "error",
149
+ /**
150
+ * Disallow unnecessary labels.
151
+ *
152
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-extra-label
153
+ */
154
+ "no-extra-label": "error",
155
+ "no-fallthrough": "error",
156
+ /**
157
+ * Disallow floating decimals.
158
+ *
159
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-floating-decimal
160
+ */
161
+ "no-floating-decimal": "error",
162
+ "no-global-assign": "error",
163
+ /**
164
+ * Make people convert types explicitly e.g. `Boolean(foo)` instead of `!!foo`.
165
+ *
166
+ * 🔧 Partially Fixable - https://eslint.org/docs/rules/no-implicit-coercion
167
+ */
168
+ "no-implicit-coercion": "error",
169
+ "no-invalid-regexp": "error",
170
+ "no-irregular-whitespace": "error",
171
+ /**
172
+ * Disallow usage of `__iterator__` property.
173
+ *
174
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-iterator
175
+ */
176
+ "no-iterator": "error",
177
+ /**
178
+ * Disallow labels that share a name with a variable.
179
+ *
180
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-label-var
181
+ */
182
+ "no-label-var": "error",
183
+ /**
184
+ * Disallow use of labels for anything other than loops and switches.
185
+ *
186
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-labels
187
+ */
188
+ "no-labels": ["error"],
189
+ /**
190
+ * Disallow unnecessary nested blocks.
191
+ *
192
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-lone-blocks
193
+ */
194
+ "no-lone-blocks": "error",
195
+ /**
196
+ * Disallow if as the only statement in an else block.
197
+ *
198
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-lonely-if
199
+ */
200
+ "no-lonely-if": "warn",
201
+ "no-loss-of-precision": "error",
202
+ "no-misleading-character-class": "error",
203
+ /**
204
+ * Disallow use of chained assignment expressions.
205
+ *
206
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-multi-assign
207
+ */
208
+ "no-multi-assign": ["error"],
209
+ /**
210
+ * Disallow nested ternary expressions.
211
+ *
212
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-nested-ternary
213
+ */
214
+ "no-nested-ternary": "error",
215
+ /**
216
+ * Disallow `new` for side effects.
217
+ *
218
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-new
219
+ */
220
+ "no-new": "error",
221
+ /**
222
+ * Disallow function constructors.
223
+ *
224
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-new-func
225
+ */
226
+ "no-new-func": "error",
227
+ /**
228
+ * Disallow primitive wrapper instances, such as `new String('foo')`.
229
+ *
230
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-new-wrappers
231
+ */
232
+ "no-new-wrappers": "error",
233
+ "no-nonoctal-decimal-escape": "error",
234
+ "no-octal": "error",
235
+ /**
236
+ * Disallow use of octal escape sequences in string literals.
237
+ *
238
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-octal-escape
239
+ */
240
+ "no-octal-escape": "error",
241
+ /**
242
+ * Disallow reassignment of function parameters.
243
+ *
244
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-param-reassign
245
+ */
246
+ "no-param-reassign": "error",
247
+ /**
248
+ * Disallow returning values from Promise executor functions.
249
+ *
250
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-promise-executor-return
251
+ */
252
+ "no-promise-executor-return": "error",
253
+ /**
254
+ * Disallow usage of the deprecated `__proto__` property.
255
+ *
256
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-proto
257
+ */
258
+ "no-proto": "error",
259
+ "no-prototype-builtins": "error",
260
+ "no-regex-spaces": "error",
261
+ /**
262
+ * Disallow assignment in `return` statement.
263
+ *
264
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-return-assign
265
+ */
266
+ "no-return-assign": "error",
267
+ /**
268
+ * Disallow use of `javascript:` urls.
269
+ *
270
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-script-url
271
+ */
272
+ "no-script-url": "error",
273
+ "no-self-assign": "error",
274
+ /**
275
+ * Disallow comparisons where both sides are exactly the same.
276
+ *
277
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-self-compare
278
+ */
279
+ "no-self-compare": "error",
280
+ /**
281
+ * Disallow use of comma operator.
282
+ *
283
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-sequences
284
+ */
285
+ "no-sequences": "error",
286
+ "no-shadow-restricted-names": "error",
287
+ "no-sparse-arrays": "error",
288
+ /**
289
+ * Disallow template literal placeholder syntax in regular strings, as
290
+ * these are likely errors.
291
+ *
292
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-template-curly-in-string
293
+ */
294
+ "no-template-curly-in-string": "error",
295
+ /**
296
+ * Disallow initializing variables to `undefined`.
297
+ *
298
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-undef-init
299
+ */
300
+ "no-undef-init": "warn",
301
+ "no-unexpected-multiline": "error",
302
+ /**
303
+ * Disallow ternary operators when simpler alternatives exist.
304
+ *
305
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-unneeded-ternary
306
+ */
307
+ "no-unneeded-ternary": "error",
308
+ /**
309
+ * Disallow loops with a body that allows only one iteration.
310
+ *
311
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-unreachable-loop
312
+ */
313
+ "no-unreachable-loop": "error",
314
+ "no-unsafe-finally": "error",
315
+ "no-unsafe-optional-chaining": "error",
316
+ "no-unused-labels": "error",
317
+ "no-unused-private-class-members": "error",
318
+ "no-useless-backreference": "error",
319
+ /**
320
+ * Disallow unnecessary `.call()` and `.apply()`.
321
+ *
322
+ * 🚫 Not fixable - https://eslint.org/docs/rules/no-useless-call
323
+ */
324
+ "no-useless-call": "error",
325
+ "no-useless-catch": "error",
326
+ /**
327
+ * Disallow useless computed property keys.
328
+ *
329
+ * � Fixable - https://eslint.org/docs/rules/no-useless-computed-key
330
+ */
331
+ "no-useless-computed-key": "warn",
332
+ /**
333
+ * Disallow unnecessary concatenation of strings.
334
+ *
335
+ * � Not fixable - https://eslint.org/docs/rules/no-useless-concat
336
+ */
337
+ "no-useless-concat": "error",
338
+ "no-useless-escape": "error",
339
+ /**
340
+ * Disallow renaming import, export, and destructured assignments to the
341
+ * same name.
342
+ *
343
+ * � Fixable - https://eslint.org/docs/rules/no-useless-rename
344
+ */
345
+ "no-useless-rename": "warn",
346
+ /**
347
+ * Disallow redundant return statements.
348
+ *
349
+ * � Fixable - https://eslint.org/docs/rules/no-useless-return
350
+ */
351
+ "no-useless-return": "warn",
352
+ /**
353
+ * Require `let` or `const` instead of `var`.
354
+ * ts transpiles let/const to var, so no need for vars any more
355
+ *
356
+ * 🔧 Fixable - https://eslint.org/docs/rules/no-var
357
+ */
358
+ "no-var": "error",
359
+ "no-with": "error",
360
+ /**
361
+ * Require object literal shorthand syntax.
362
+ *
363
+ * 🔧 Fixable - https://eslint.org/docs/rules/object-shorthand
364
+ */
365
+ "object-shorthand": "warn",
366
+ /**
367
+ * Require default to `const` instead of `let`.
368
+ * ts provides better types with const
369
+ *
370
+ * 🔧 Fixable - https://eslint.org/docs/rules/prefer-const
371
+ */
372
+ "prefer-const": "warn",
373
+ /**
374
+ * Require using named capture groups in regular expressions.
375
+ *
376
+ * � Not fixable - https://eslint.org/docs/rules/prefer-named-capture-group
377
+ */
378
+ "prefer-named-capture-group": "error",
379
+ /**
380
+ * Disallow parseInt() in favor of binary, octal, and hexadecimal literals.
381
+ *
382
+ * 🔧 Fixable - https://eslint.org/docs/rules/prefer-numeric-literals
383
+ */
384
+ "prefer-numeric-literals": "error",
385
+ /**
386
+ * Require use of an object spread over Object.assign.
387
+ *
388
+ * 🔧 Fixable - https://eslint.org/docs/rules/prefer-object-spread
389
+ */
390
+ "prefer-object-spread": "warn",
391
+ /**
392
+ * Disallow use of the RegExp constructor in favor of regular expression
393
+ * literals.
394
+ *
395
+ * � Not fixable - https://eslint.org/docs/rules/prefer-regex-literals
396
+ */
397
+ "prefer-regex-literals": "error",
398
+ /**
399
+ * Require using rest parameters instead of `arguments`.
400
+ * ts provides better types with rest args over arguments
401
+ *
402
+ * 🚫 Not fixable - https://eslint.org/docs/rules/prefer-rest-params
403
+ */
404
+ "prefer-rest-params": "error",
405
+ /**
406
+ * Require using spread syntax instead of `.apply()`.
407
+ * ts transpiles spread to apply, so no need for manual apply
408
+ *
409
+ * 🚫 Not fixable - https://eslint.org/docs/rules/prefer-spread
410
+ */
411
+ "prefer-spread": "error",
412
+ /**
413
+ * Require using template literals instead of string concatenation.
414
+ *
415
+ * 🔧 Fixable - https://eslint.org/docs/rules/prefer-template
416
+ */
417
+ "prefer-template": "warn",
418
+ "require-yield": "error",
419
+ /**
420
+ * Require a `Symbol` description.
421
+ *
422
+ * 🚫 Not fixable - https://eslint.org/docs/rules/symbol-description
423
+ */
424
+ "symbol-description": "error",
425
+ "use-isnan": "error",
426
+ "valid-typeof": "error",
427
+ /**
428
+ * Disallow "Yoda conditions", ensuring the comparison.
429
+ *
430
+ * 🔧 Fixable - https://eslint.org/docs/rules/yoda
431
+ */
432
+ yoda: "warn"
433
+ };
434
+ export {
435
+ baseRules
436
+ };
437
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/rules/base.js"],"sourcesContent":["export const baseRules = {\n /**\n * Require return statements in array methods callbacks.\n *\n * 🚫 Not fixable -https://eslint.org/docs/rules/array-callback-return\n */\n \"array-callback-return\": [\n \"error\",\n { allowImplicit: true, checkForEach: true },\n ],\n /**\n * Treat `var` statements as if they were block scoped.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/block-scoped-var\n */\n \"block-scoped-var\": \"error\",\n /**\n * Require camel case names.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/camelcase\n */\n camelcase: [\n \"error\",\n { allow: [\"^UNSAFE_\"], ignoreDestructuring: false, properties: \"never\" },\n ],\n /**\n * Require curly braces for multiline blocks.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/curly\n */\n curly: [\"warn\", \"multi-line\"],\n /**\n * Require default clauses in switch statements to be last (if used).\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/default-case-last\n */\n \"default-case-last\": \"error\",\n /**\n * Require triple equals (`===` and `!==`).\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/eqeqeq\n */\n eqeqeq: \"error\",\n \"for-direction\": \"error\",\n /**\n * Require function expressions to have a name.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/func-names\n */\n \"func-names\": [\"error\", \"as-needed\"],\n /**\n * Require grouped accessor pairs in object literals and classes.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/grouped-accessor-pairs\n */\n \"grouped-accessor-pairs\": \"error\",\n /**\n * Require a capital letter for constructors.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/new-cap\n */\n \"new-cap\": [\"error\", { capIsNew: false }],\n /**\n * Disallow the omission of parentheses when invoking a constructor with\n * no arguments.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/new-parens\n */\n \"new-parens\": \"warn\",\n /**\n * Disallow use of `alert()`.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-alert\n */\n \"no-alert\": \"error\",\n \"no-async-promise-executor\": \"error\",\n /**\n * Disallow use of bitwise operators.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-bitwise\n */\n \"no-bitwise\": \"error\",\n /**\n * Disallow use of `caller`/`callee`.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-caller\n */\n \"no-caller\": \"error\",\n \"no-case-declarations\": \"error\",\n \"no-compare-neg-zero\": \"error\",\n \"no-cond-assign\": \"error\",\n /**\n * Disallow the use of console.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-console\n */\n \"no-console\": [\"error\", { allow: [\"info\", \"warn\", \"error\"] }],\n /**\n * Disallow expressions where the operation doesn't affect the value.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-console\n */\n \"no-constant-binary-expression\": \"error\",\n \"no-constant-condition\": \"error\",\n /**\n * Disallow returning value in constructor.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-constructor-return\n */\n \"no-constructor-return\": \"error\",\n \"no-control-regex\": \"error\",\n \"no-debugger\": \"error\",\n \"no-delete-var\": \"error\",\n \"no-dupe-else-if\": \"error\",\n \"no-duplicate-case\": \"error\",\n /**\n * Disallow using an `else` if the `if` block contains a return.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-else-return\n */\n \"no-else-return\": \"warn\",\n \"no-empty\": \"error\",\n \"no-empty-character-class\": \"error\",\n \"no-empty-pattern\": \"error\",\n \"no-empty-static-block\": \"error\",\n /**\n * Disallow `eval()`.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-eval\n */\n \"no-eval\": \"error\",\n \"no-ex-assign\": \"error\",\n /**\n * Disallow extending native objects.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-extend-native\n */\n \"no-extend-native\": \"error\",\n /**\n * Disallow unnecessary function binding.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-extra-bind\n */\n \"no-extra-bind\": \"error\",\n \"no-extra-boolean-cast\": \"error\",\n /**\n * Disallow unnecessary labels.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-extra-label\n */\n \"no-extra-label\": \"error\",\n \"no-fallthrough\": \"error\",\n /**\n * Disallow floating decimals.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-floating-decimal\n */\n \"no-floating-decimal\": \"error\",\n \"no-global-assign\": \"error\",\n /**\n * Make people convert types explicitly e.g. `Boolean(foo)` instead of `!!foo`.\n *\n * 🔧 Partially Fixable - https://eslint.org/docs/rules/no-implicit-coercion\n */\n \"no-implicit-coercion\": \"error\",\n \"no-invalid-regexp\": \"error\",\n \"no-irregular-whitespace\": \"error\",\n /**\n * Disallow usage of `__iterator__` property.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-iterator\n */\n \"no-iterator\": \"error\",\n /**\n * Disallow labels that share a name with a variable.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-label-var\n */\n \"no-label-var\": \"error\",\n /**\n * Disallow use of labels for anything other than loops and switches.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-labels\n */\n \"no-labels\": [\"error\"],\n /**\n * Disallow unnecessary nested blocks.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-lone-blocks\n */\n \"no-lone-blocks\": \"error\",\n /**\n * Disallow if as the only statement in an else block.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-lonely-if\n */\n \"no-lonely-if\": \"warn\",\n \"no-loss-of-precision\": \"error\",\n \"no-misleading-character-class\": \"error\",\n /**\n * Disallow use of chained assignment expressions.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-multi-assign\n */\n \"no-multi-assign\": [\"error\"],\n /**\n * Disallow nested ternary expressions.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-nested-ternary\n */\n \"no-nested-ternary\": \"error\",\n /**\n * Disallow `new` for side effects.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-new\n */\n \"no-new\": \"error\",\n /**\n * Disallow function constructors.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-new-func\n */\n \"no-new-func\": \"error\",\n /**\n * Disallow primitive wrapper instances, such as `new String('foo')`.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-new-wrappers\n */\n \"no-new-wrappers\": \"error\",\n \"no-nonoctal-decimal-escape\": \"error\",\n \"no-octal\": \"error\",\n /**\n * Disallow use of octal escape sequences in string literals.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-octal-escape\n */\n \"no-octal-escape\": \"error\",\n /**\n * Disallow reassignment of function parameters.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-param-reassign\n */\n \"no-param-reassign\": \"error\",\n /**\n * Disallow returning values from Promise executor functions.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-promise-executor-return\n */\n \"no-promise-executor-return\": \"error\",\n /**\n * Disallow usage of the deprecated `__proto__` property.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-proto\n */\n \"no-proto\": \"error\",\n \"no-prototype-builtins\": \"error\",\n \"no-regex-spaces\": \"error\",\n /**\n * Disallow assignment in `return` statement.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-return-assign\n */\n \"no-return-assign\": \"error\",\n /**\n * Disallow use of `javascript:` urls.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-script-url\n */\n \"no-script-url\": \"error\",\n \"no-self-assign\": \"error\",\n /**\n * Disallow comparisons where both sides are exactly the same.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-self-compare\n */\n \"no-self-compare\": \"error\",\n /**\n * Disallow use of comma operator.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-sequences\n */\n \"no-sequences\": \"error\",\n \"no-shadow-restricted-names\": \"error\",\n \"no-sparse-arrays\": \"error\",\n /**\n * Disallow template literal placeholder syntax in regular strings, as\n * these are likely errors.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-template-curly-in-string\n */\n \"no-template-curly-in-string\": \"error\",\n /**\n * Disallow initializing variables to `undefined`.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-undef-init\n */\n \"no-undef-init\": \"warn\",\n \"no-unexpected-multiline\": \"error\",\n /**\n * Disallow ternary operators when simpler alternatives exist.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-unneeded-ternary\n */\n \"no-unneeded-ternary\": \"error\",\n /**\n * Disallow loops with a body that allows only one iteration.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-unreachable-loop\n */\n \"no-unreachable-loop\": \"error\",\n \"no-unsafe-finally\": \"error\",\n \"no-unsafe-optional-chaining\": \"error\",\n \"no-unused-labels\": \"error\",\n \"no-unused-private-class-members\": \"error\",\n \"no-useless-backreference\": \"error\",\n /**\n * Disallow unnecessary `.call()` and `.apply()`.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/no-useless-call\n */\n \"no-useless-call\": \"error\",\n \"no-useless-catch\": \"error\",\n /**\n * Disallow useless computed property keys.\n *\n * � Fixable - https://eslint.org/docs/rules/no-useless-computed-key\n */\n \"no-useless-computed-key\": \"warn\",\n /**\n * Disallow unnecessary concatenation of strings.\n *\n * � Not fixable - https://eslint.org/docs/rules/no-useless-concat\n */\n \"no-useless-concat\": \"error\",\n \"no-useless-escape\": \"error\",\n /**\n * Disallow renaming import, export, and destructured assignments to the\n * same name.\n *\n * � Fixable - https://eslint.org/docs/rules/no-useless-rename\n */\n \"no-useless-rename\": \"warn\",\n /**\n * Disallow redundant return statements.\n *\n * � Fixable - https://eslint.org/docs/rules/no-useless-return\n */\n \"no-useless-return\": \"warn\",\n /**\n * Require `let` or `const` instead of `var`.\n * ts transpiles let/const to var, so no need for vars any more\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/no-var\n */\n \"no-var\": \"error\",\n \"no-with\": \"error\",\n /**\n * Require object literal shorthand syntax.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/object-shorthand\n */\n \"object-shorthand\": \"warn\",\n /**\n * Require default to `const` instead of `let`.\n * ts provides better types with const\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/prefer-const\n */\n \"prefer-const\": \"warn\",\n /**\n * Require using named capture groups in regular expressions.\n *\n * � Not fixable - https://eslint.org/docs/rules/prefer-named-capture-group\n */\n \"prefer-named-capture-group\": \"error\",\n /**\n * Disallow parseInt() in favor of binary, octal, and hexadecimal literals.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/prefer-numeric-literals\n */\n \"prefer-numeric-literals\": \"error\",\n /**\n * Require use of an object spread over Object.assign.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/prefer-object-spread\n */\n \"prefer-object-spread\": \"warn\",\n /**\n * Disallow use of the RegExp constructor in favor of regular expression\n * literals.\n *\n * � Not fixable - https://eslint.org/docs/rules/prefer-regex-literals\n */\n \"prefer-regex-literals\": \"error\",\n /**\n * Require using rest parameters instead of `arguments`.\n * ts provides better types with rest args over arguments\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/prefer-rest-params\n */\n \"prefer-rest-params\": \"error\",\n /**\n * Require using spread syntax instead of `.apply()`.\n * ts transpiles spread to apply, so no need for manual apply\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/prefer-spread\n */\n \"prefer-spread\": \"error\",\n /**\n * Require using template literals instead of string concatenation.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/prefer-template\n */\n \"prefer-template\": \"warn\",\n \"require-yield\": \"error\",\n /**\n * Require a `Symbol` description.\n *\n * 🚫 Not fixable - https://eslint.org/docs/rules/symbol-description\n */\n \"symbol-description\": \"error\",\n \"use-isnan\": \"error\",\n \"valid-typeof\": \"error\",\n /**\n * Disallow \"Yoda conditions\", ensuring the comparison.\n *\n * 🔧 Fixable - https://eslint.org/docs/rules/yoda\n */\n yoda: \"warn\",\n};\n"],"mappings":";;;AAAO,IAAM,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMvB,yBAAyB;AAAA,IACvB;AAAA,IACA,EAAE,eAAe,MAAM,cAAc,KAAK;AAAA,EAC5C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,oBAAoB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMpB,WAAW;AAAA,IACT;AAAA,IACA,EAAE,OAAO,CAAC,UAAU,GAAG,qBAAqB,OAAO,YAAY,QAAQ;AAAA,EACzE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAO,CAAC,QAAQ,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM5B,qBAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMrB,QAAQ;AAAA,EACR,iBAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMjB,cAAc,CAAC,SAAS,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMnC,0BAA0B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM1B,WAAW,CA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;AACR;","names":[]}
@@ -0,0 +1,121 @@
1
+ const typescriptRules = {
2
+ "@typescript-eslint/adjacent-overload-signatures": "error",
3
+ "@typescript-eslint/array-type": "error",
4
+ "@typescript-eslint/await-thenable": "error",
5
+ "@typescript-eslint/ban-ts-comment": [
6
+ "error",
7
+ { minimumDescriptionLength: 10 },
8
+ ],
9
+ "@typescript-eslint/ban-tslint-comment": "error",
10
+ "@typescript-eslint/class-literal-property-style": "error",
11
+ "@typescript-eslint/consistent-generic-constructors": "error",
12
+ "@typescript-eslint/consistent-indexed-object-style": "error",
13
+ "@typescript-eslint/consistent-type-assertions": "error",
14
+ "@typescript-eslint/consistent-type-definitions": "error",
15
+ "@typescript-eslint/dot-notation": "error",
16
+ "@typescript-eslint/no-array-constructor": "error",
17
+ "@typescript-eslint/no-array-delete": "error",
18
+ "@typescript-eslint/no-base-to-string": "error",
19
+ "@typescript-eslint/no-confusing-non-null-assertion": "error",
20
+ "@typescript-eslint/no-confusing-void-expression": "error",
21
+ "@typescript-eslint/no-deprecated": "error",
22
+ "@typescript-eslint/no-duplicate-enum-values": "error",
23
+ "@typescript-eslint/no-duplicate-type-constituents": "error",
24
+ "@typescript-eslint/no-dynamic-delete": "error",
25
+ "@typescript-eslint/no-empty-function": "error",
26
+ "@typescript-eslint/no-empty-object-type": "error",
27
+ "@typescript-eslint/no-explicit-any": "error",
28
+ "@typescript-eslint/no-extra-non-null-assertion": "error",
29
+ "@typescript-eslint/no-extraneous-class": "error",
30
+ "@typescript-eslint/no-floating-promises": "error",
31
+ "@typescript-eslint/no-for-in-array": "error",
32
+ "@typescript-eslint/no-implied-eval": "error",
33
+ "@typescript-eslint/no-inferrable-types": "error",
34
+ "@typescript-eslint/no-invalid-void-type": "error",
35
+ "@typescript-eslint/no-meaningless-void-operator": "error",
36
+ "@typescript-eslint/no-misused-new": "error",
37
+ "@typescript-eslint/no-misused-promises": "error",
38
+ "@typescript-eslint/no-mixed-enums": "error",
39
+ "@typescript-eslint/no-namespace": "error",
40
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
41
+ "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
42
+ "@typescript-eslint/no-non-null-assertion": "error",
43
+ "@typescript-eslint/no-redundant-type-constituents": "error",
44
+ "@typescript-eslint/no-require-imports": "error",
45
+ "@typescript-eslint/no-this-alias": "error",
46
+ "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
47
+ "@typescript-eslint/no-unnecessary-condition": "error",
48
+ "@typescript-eslint/no-unnecessary-template-expression": "error",
49
+ "@typescript-eslint/no-unnecessary-type-arguments": "error",
50
+ "@typescript-eslint/no-unnecessary-type-assertion": "error",
51
+ "@typescript-eslint/no-unnecessary-type-constraint": "error",
52
+ "@typescript-eslint/no-unnecessary-type-parameters": "error",
53
+ "@typescript-eslint/no-unsafe-declaration-merging": "error",
54
+ "@typescript-eslint/no-unsafe-enum-comparison": "error",
55
+ "@typescript-eslint/no-unsafe-function-type": "error",
56
+ "@typescript-eslint/no-unsafe-unary-minus": "error",
57
+ "@typescript-eslint/no-unused-expressions": "error",
58
+ "@typescript-eslint/no-unused-vars": [
59
+ "error",
60
+ {
61
+ args: "after-used",
62
+ argsIgnorePattern: "^_",
63
+ ignoreRestSiblings: false,
64
+ vars: "all",
65
+ varsIgnorePattern: "^_",
66
+ },
67
+ ],
68
+ "@typescript-eslint/no-useless-constructor": "error",
69
+ "@typescript-eslint/no-wrapper-object-types": "error",
70
+ "@typescript-eslint/non-nullable-type-assertion-style": "error",
71
+ "@typescript-eslint/only-throw-error": "error",
72
+ "@typescript-eslint/prefer-as-const": "error",
73
+ "@typescript-eslint/prefer-find": "error",
74
+ "@typescript-eslint/prefer-for-of": "error",
75
+ "@typescript-eslint/prefer-function-type": "error",
76
+ "@typescript-eslint/prefer-includes": "error",
77
+ "@typescript-eslint/prefer-literal-enum-member": "error",
78
+ "@typescript-eslint/prefer-namespace-keyword": "error",
79
+ "@typescript-eslint/prefer-nullish-coalescing": "error",
80
+ "@typescript-eslint/prefer-optional-chain": "error",
81
+ "@typescript-eslint/prefer-promise-reject-errors": "error",
82
+ "@typescript-eslint/prefer-reduce-type-parameter": "error",
83
+ "@typescript-eslint/prefer-regexp-exec": "error",
84
+ "@typescript-eslint/prefer-return-this-type": "error",
85
+ "@typescript-eslint/prefer-string-starts-ends-with": "error",
86
+ "@typescript-eslint/related-getter-setter-pairs": "error",
87
+ "@typescript-eslint/require-await": "error",
88
+ "@typescript-eslint/restrict-plus-operands": [
89
+ "error",
90
+ {
91
+ allowAny: false,
92
+ allowBoolean: false,
93
+ allowNullish: false,
94
+ allowNumberAndString: false,
95
+ allowRegExp: false,
96
+ },
97
+ ],
98
+ "@typescript-eslint/restrict-template-expressions": [
99
+ "error",
100
+ {
101
+ allowAny: false,
102
+ allowBoolean: false,
103
+ allowNever: false,
104
+ allowNullish: false,
105
+ allowNumber: false,
106
+ allowRegExp: false,
107
+ },
108
+ ],
109
+ "@typescript-eslint/return-await": [
110
+ "error",
111
+ "error-handling-correctness-only",
112
+ ],
113
+ "@typescript-eslint/triple-slash-reference": "error",
114
+ "@typescript-eslint/unbound-method": "error",
115
+ "@typescript-eslint/unified-signatures": "error",
116
+ "@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
117
+ "dot-notation": "off",
118
+ "no-empty-function": "off",
119
+ };
120
+
121
+ export { typescriptRules };