@newsteam/eslint-config 0.0.223 → 0.0.225
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.
- package/dist/cjs/plugins/typescript.js +125 -119
- package/package.json +13 -13
|
@@ -31,55 +31,55 @@ var rules = {
|
|
|
31
31
|
/*
|
|
32
32
|
* Require that member overloads be consecutive
|
|
33
33
|
*
|
|
34
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/adjacent-overload-signatures.
|
|
34
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/adjacent-overload-signatures.mdx
|
|
35
35
|
*/
|
|
36
36
|
"@typescript-eslint/adjacent-overload-signatures": "error",
|
|
37
37
|
/*
|
|
38
38
|
* Requires using either T[] or Array<T> for arrays
|
|
39
39
|
*
|
|
40
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/array-type.
|
|
40
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/array-type.mdx
|
|
41
41
|
*/
|
|
42
42
|
"@typescript-eslint/array-type": "error",
|
|
43
43
|
/*
|
|
44
44
|
* Disallows awaiting a value that is not a Promise
|
|
45
45
|
*
|
|
46
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/await-thenable.
|
|
46
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/await-thenable.mdx
|
|
47
47
|
*/
|
|
48
48
|
"@typescript-eslint/await-thenable": "error",
|
|
49
49
|
/*
|
|
50
50
|
* Bans // @ts-<directive> comments from being used
|
|
51
51
|
*
|
|
52
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/ban-ts-comment.
|
|
52
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/ban-ts-comment.mdx
|
|
53
53
|
*/
|
|
54
54
|
"@typescript-eslint/ban-ts-comment": "error",
|
|
55
55
|
/*
|
|
56
56
|
* Bans // tslint:<rule-flag> comments from being used
|
|
57
57
|
*
|
|
58
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/ban-tslint-comment.
|
|
58
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/ban-tslint-comment.mdx
|
|
59
59
|
*/
|
|
60
60
|
"@typescript-eslint/ban-tslint-comment": "error",
|
|
61
61
|
/*
|
|
62
62
|
* Enforces that types will not to be used
|
|
63
63
|
*
|
|
64
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/ban-types.
|
|
64
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/ban-types.mdx
|
|
65
65
|
*/
|
|
66
66
|
"@typescript-eslint/ban-types": "error",
|
|
67
67
|
/*
|
|
68
68
|
* Ensures that literals on classes are exposed in a consistent style
|
|
69
69
|
*
|
|
70
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/class-literal-property-style.
|
|
70
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/class-literal-property-style.mdx
|
|
71
71
|
*/
|
|
72
72
|
"@typescript-eslint/class-literal-property-style": "error",
|
|
73
73
|
/*
|
|
74
74
|
* Enforce that literals on classes are exposed in a consistent style.
|
|
75
75
|
*
|
|
76
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/class-methods-use-this.
|
|
76
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/class-methods-use-this.mdx
|
|
77
77
|
*/
|
|
78
78
|
"@typescript-eslint/class-methods-use-this": "error",
|
|
79
79
|
/*
|
|
80
80
|
* Enforces specifying generic type arguments on type annotation or constructor name of a constructor call.
|
|
81
81
|
*
|
|
82
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-generic-constructors.
|
|
82
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-generic-constructors.mdx
|
|
83
83
|
*/
|
|
84
84
|
"@typescript-eslint/consistent-generic-constructors": [
|
|
85
85
|
"error",
|
|
@@ -88,19 +88,19 @@ var rules = {
|
|
|
88
88
|
/*
|
|
89
89
|
* Enforce or disallow the use of the record type
|
|
90
90
|
*
|
|
91
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-indexed-object-style.
|
|
91
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-indexed-object-style.mdx
|
|
92
92
|
*/
|
|
93
93
|
"@typescript-eslint/consistent-indexed-object-style": "error",
|
|
94
94
|
/*
|
|
95
95
|
* This rule extends the base eslint/consistent-return rule. This version adds support for functions that return void or Promise<void>.
|
|
96
96
|
*
|
|
97
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-return.
|
|
97
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-return.mdx
|
|
98
98
|
*/
|
|
99
99
|
"@typescript-eslint/consistent-return": "error",
|
|
100
100
|
/*
|
|
101
101
|
* Enforces consistent usage of type assertions.
|
|
102
102
|
*
|
|
103
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-assertions.
|
|
103
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-assertions.mdx
|
|
104
104
|
*/
|
|
105
105
|
"@typescript-eslint/consistent-type-assertions": [
|
|
106
106
|
"error",
|
|
@@ -114,19 +114,19 @@ var rules = {
|
|
|
114
114
|
*
|
|
115
115
|
* There are pros and cons of both - not going to force this for now
|
|
116
116
|
*
|
|
117
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-definitions.
|
|
117
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-definitions.mdx
|
|
118
118
|
*/
|
|
119
119
|
"@typescript-eslint/consistent-type-definitions": "off",
|
|
120
120
|
/*
|
|
121
121
|
* Enforces consistent usage of type exports
|
|
122
122
|
*
|
|
123
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-exports.
|
|
123
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-exports.mdx
|
|
124
124
|
*/
|
|
125
125
|
"@typescript-eslint/consistent-type-exports": "error",
|
|
126
126
|
/*
|
|
127
127
|
* Enforces consistent usage of type imports
|
|
128
128
|
*
|
|
129
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-imports.
|
|
129
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/consistent-type-imports.mdx
|
|
130
130
|
*/
|
|
131
131
|
"@typescript-eslint/consistent-type-imports": [
|
|
132
132
|
"error",
|
|
@@ -139,25 +139,25 @@ var rules = {
|
|
|
139
139
|
/*
|
|
140
140
|
* Enforce default parameters to be last
|
|
141
141
|
*
|
|
142
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/default-param-last.
|
|
142
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/default-param-last.mdx
|
|
143
143
|
*/
|
|
144
144
|
"@typescript-eslint/default-param-last": "error",
|
|
145
145
|
/*
|
|
146
146
|
* Enforce dot notation whenever possible
|
|
147
147
|
*
|
|
148
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/dot-notation.
|
|
148
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/dot-notation.mdx
|
|
149
149
|
*/
|
|
150
150
|
"@typescript-eslint/dot-notation": "error",
|
|
151
151
|
/*
|
|
152
152
|
* Require explicit return types on functions and class methods
|
|
153
153
|
*
|
|
154
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/explicit-function-return-type.
|
|
154
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/explicit-function-return-type.mdx
|
|
155
155
|
*/
|
|
156
156
|
"@typescript-eslint/explicit-function-return-type": "error",
|
|
157
157
|
/*
|
|
158
158
|
* Require explicit accessibility modifiers on class properties and methods
|
|
159
159
|
*
|
|
160
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/explicit-member-accessibility.
|
|
160
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/explicit-member-accessibility.mdx
|
|
161
161
|
*/
|
|
162
162
|
"@typescript-eslint/explicit-member-accessibility": [
|
|
163
163
|
"error",
|
|
@@ -168,13 +168,13 @@ var rules = {
|
|
|
168
168
|
/*
|
|
169
169
|
* Require explicit return and argument types on exported functions' and classes' public class methods
|
|
170
170
|
*
|
|
171
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/explicit-module-boundary-types.
|
|
171
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/explicit-module-boundary-types.mdx
|
|
172
172
|
*/
|
|
173
173
|
"@typescript-eslint/explicit-module-boundary-types": "error",
|
|
174
174
|
/*
|
|
175
175
|
* Require or disallow initialization in variable declarations
|
|
176
176
|
*
|
|
177
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/init-declarations.
|
|
177
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/init-declarations.mdx
|
|
178
178
|
*/
|
|
179
179
|
"@typescript-eslint/init-declarations": [
|
|
180
180
|
"error",
|
|
@@ -183,7 +183,7 @@ var rules = {
|
|
|
183
183
|
/*
|
|
184
184
|
*
|
|
185
185
|
*
|
|
186
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/max-params.
|
|
186
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/max-params.mdx
|
|
187
187
|
*/
|
|
188
188
|
"@typescript-eslint/max-params": [
|
|
189
189
|
"error",
|
|
@@ -194,7 +194,7 @@ var rules = {
|
|
|
194
194
|
/*
|
|
195
195
|
* Require a consistent member declaration order
|
|
196
196
|
*
|
|
197
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/member-ordering.
|
|
197
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/member-ordering.mdx
|
|
198
198
|
*/
|
|
199
199
|
"@typescript-eslint/member-ordering": [
|
|
200
200
|
"error",
|
|
@@ -308,13 +308,13 @@ var rules = {
|
|
|
308
308
|
/*
|
|
309
309
|
* Enforces using a particular method signature syntax.
|
|
310
310
|
*
|
|
311
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/method-signature-style.
|
|
311
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/method-signature-style.mdx
|
|
312
312
|
*/
|
|
313
313
|
"@typescript-eslint/method-signature-style": "error",
|
|
314
314
|
/*
|
|
315
315
|
* Enforces naming conventions for everything across a codebase
|
|
316
316
|
*
|
|
317
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/naming-convention.
|
|
317
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/naming-convention.mdx
|
|
318
318
|
*/
|
|
319
319
|
"@typescript-eslint/naming-convention": [
|
|
320
320
|
"error",
|
|
@@ -372,109 +372,109 @@ var rules = {
|
|
|
372
372
|
/*
|
|
373
373
|
* Disallow generic Array constructors
|
|
374
374
|
*
|
|
375
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-array-constructor.
|
|
375
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-array-constructor.mdx
|
|
376
376
|
*/
|
|
377
377
|
"@typescript-eslint/no-array-constructor": "error",
|
|
378
378
|
/*
|
|
379
379
|
* Disallow generic `Array` constructors.
|
|
380
380
|
*
|
|
381
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-array-delete.
|
|
381
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-array-delete.mdx
|
|
382
382
|
*/
|
|
383
383
|
"@typescript-eslint/no-array-delete": "error",
|
|
384
384
|
/*
|
|
385
385
|
* Requires that .toString() is only called on objects which provide useful information when stringified
|
|
386
386
|
*
|
|
387
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-base-to-string.
|
|
387
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-base-to-string.mdx
|
|
388
388
|
*/
|
|
389
389
|
"@typescript-eslint/no-base-to-string": "error",
|
|
390
390
|
/*
|
|
391
391
|
* Disallow non-null assertion in locations that may be confusing
|
|
392
392
|
*
|
|
393
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-confusing-non-null-assertion.
|
|
393
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-confusing-non-null-assertion.mdx
|
|
394
394
|
*/
|
|
395
395
|
"@typescript-eslint/no-confusing-non-null-assertion": "error",
|
|
396
396
|
/*
|
|
397
397
|
* Requires expressions of type void to appear in statement position
|
|
398
398
|
*
|
|
399
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-confusing-void-expression.
|
|
399
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-confusing-void-expression.mdx
|
|
400
400
|
*/
|
|
401
401
|
"@typescript-eslint/no-confusing-void-expression": "error",
|
|
402
402
|
/*
|
|
403
403
|
* Disallow duplicate class members
|
|
404
404
|
*
|
|
405
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-dupe-class-members.
|
|
405
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-dupe-class-members.mdx
|
|
406
406
|
*/
|
|
407
407
|
"@typescript-eslint/no-dupe-class-members": "error",
|
|
408
408
|
/*
|
|
409
409
|
* Disallow duplicate enum member values.
|
|
410
410
|
*
|
|
411
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-duplicate-enum-values.
|
|
411
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-duplicate-enum-values.mdx
|
|
412
412
|
*/
|
|
413
413
|
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
414
414
|
/*
|
|
415
415
|
* Disallow duplicate enum member values.
|
|
416
416
|
*
|
|
417
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-duplicate-type-constituents.
|
|
417
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-duplicate-type-constituents.mdx
|
|
418
418
|
*/
|
|
419
419
|
"@typescript-eslint/no-duplicate-type-constituents": "error",
|
|
420
420
|
/*
|
|
421
421
|
* Disallow the delete operator with computed key expressions
|
|
422
422
|
*
|
|
423
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-dynamic-delete.
|
|
423
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-dynamic-delete.mdx
|
|
424
424
|
*/
|
|
425
425
|
"@typescript-eslint/no-dynamic-delete": "error",
|
|
426
426
|
/*
|
|
427
427
|
* Disallow Empty Functions
|
|
428
428
|
*
|
|
429
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-empty-function.
|
|
429
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-empty-function.mdx
|
|
430
430
|
*/
|
|
431
431
|
"@typescript-eslint/no-empty-function": "error",
|
|
432
432
|
/*
|
|
433
433
|
* Disallow the declaration of empty interfaces
|
|
434
434
|
*
|
|
435
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-empty-interface.
|
|
435
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-empty-interface.mdx
|
|
436
436
|
*/
|
|
437
437
|
"@typescript-eslint/no-empty-interface": "error",
|
|
438
438
|
/*
|
|
439
439
|
* Disallow usage of the any type
|
|
440
440
|
*
|
|
441
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-explicit-any.
|
|
441
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-explicit-any.mdx
|
|
442
442
|
*/
|
|
443
443
|
"@typescript-eslint/no-explicit-any": "error",
|
|
444
444
|
/*
|
|
445
445
|
* Disallow extra non-null assertion
|
|
446
446
|
*
|
|
447
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-extra-non-null-assertion.
|
|
447
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-extra-non-null-assertion.mdx
|
|
448
448
|
*/
|
|
449
449
|
"@typescript-eslint/no-extra-non-null-assertion": "error",
|
|
450
450
|
/*
|
|
451
451
|
* Forbids the use of classes as namespaces
|
|
452
452
|
*
|
|
453
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-extraneous-class.
|
|
453
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-extraneous-class.mdx
|
|
454
454
|
*/
|
|
455
455
|
"@typescript-eslint/no-extraneous-class": "error",
|
|
456
456
|
/*
|
|
457
457
|
* Requires Promise-like values to be handled appropriately
|
|
458
458
|
*
|
|
459
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-floating-promises.
|
|
459
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-floating-promises.mdx
|
|
460
460
|
*/
|
|
461
461
|
"@typescript-eslint/no-floating-promises": "error",
|
|
462
462
|
/*
|
|
463
463
|
* Disallow iterating over an array with a for-in loop
|
|
464
464
|
*
|
|
465
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-for-in-array.
|
|
465
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-for-in-array.mdx
|
|
466
466
|
*/
|
|
467
467
|
"@typescript-eslint/no-for-in-array": "error",
|
|
468
468
|
/*
|
|
469
469
|
* Disallow the use of eval()-like methods
|
|
470
470
|
*
|
|
471
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-implied-eval.
|
|
471
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-implied-eval.mdx
|
|
472
472
|
*/
|
|
473
473
|
"@typescript-eslint/no-implied-eval": "error",
|
|
474
474
|
/*
|
|
475
475
|
* Enforce the use of top-level import type qualifier when an import only has specifiers with inline type qualifiers.
|
|
476
476
|
*
|
|
477
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-import-type-side-effects.
|
|
477
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-import-type-side-effects.mdx
|
|
478
478
|
*/
|
|
479
479
|
"@typescript-eslint/no-import-type-side-effects": "error",
|
|
480
480
|
/*
|
|
@@ -482,38 +482,38 @@ var rules = {
|
|
|
482
482
|
*
|
|
483
483
|
* This is off for now
|
|
484
484
|
*
|
|
485
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-inferrable-types.
|
|
485
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-inferrable-types.mdx
|
|
486
486
|
*/
|
|
487
487
|
"@typescript-eslint/no-inferrable-types": "error",
|
|
488
488
|
/*
|
|
489
489
|
* Disallow this keywords outside of classes or class-like objects
|
|
490
490
|
*
|
|
491
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-invalid-this.
|
|
491
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-invalid-this.mdx
|
|
492
492
|
*/
|
|
493
493
|
"@typescript-eslint/no-invalid-this": "error",
|
|
494
494
|
/*
|
|
495
495
|
* Disallows usage of void type outside of return types or generic type arguments.
|
|
496
496
|
* If void is used as return type, it shouldn’t be a part of intersection/union type.
|
|
497
497
|
*
|
|
498
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-invalid-void-type.
|
|
498
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-invalid-void-type.mdx
|
|
499
499
|
*/
|
|
500
500
|
"@typescript-eslint/no-invalid-void-type": "error",
|
|
501
501
|
/*
|
|
502
502
|
* Disallow function declarations that contain unsafe references inside loop statements
|
|
503
503
|
*
|
|
504
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-loop-func.
|
|
504
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-loop-func.mdx
|
|
505
505
|
*/
|
|
506
506
|
"@typescript-eslint/no-loop-func": "error",
|
|
507
507
|
/*
|
|
508
508
|
* Disallow literal numbers that lose precision
|
|
509
509
|
*
|
|
510
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-loss-of-precision.
|
|
510
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-loss-of-precision.mdx
|
|
511
511
|
*/
|
|
512
512
|
"@typescript-eslint/no-loss-of-precision": "error",
|
|
513
513
|
/*
|
|
514
514
|
* Disallow Magic Numbers
|
|
515
515
|
*
|
|
516
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-magic-numbers.
|
|
516
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-magic-numbers.mdx
|
|
517
517
|
*/
|
|
518
518
|
"@typescript-eslint/no-magic-numbers": [
|
|
519
519
|
"error",
|
|
@@ -522,25 +522,25 @@ var rules = {
|
|
|
522
522
|
/*
|
|
523
523
|
* Disallow the void operator except when used to discard a value
|
|
524
524
|
*
|
|
525
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-meaningless-void-operator.
|
|
525
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-meaningless-void-operator.mdx
|
|
526
526
|
*/
|
|
527
527
|
"@typescript-eslint/no-meaningless-void-operator": "error",
|
|
528
528
|
/*
|
|
529
529
|
* Enforce valid definition of new and constructor.
|
|
530
530
|
*
|
|
531
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-misused-new.
|
|
531
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-misused-new.mdx
|
|
532
532
|
*/
|
|
533
533
|
"@typescript-eslint/no-misused-new": "error",
|
|
534
534
|
/*
|
|
535
535
|
* Avoid using promises in places not designed to handle them
|
|
536
536
|
*
|
|
537
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-misused-promises.
|
|
537
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-misused-promises.mdx
|
|
538
538
|
*/
|
|
539
539
|
"@typescript-eslint/no-misused-promises": "error",
|
|
540
540
|
/*
|
|
541
541
|
* Disallow enums from having both number and string members.
|
|
542
542
|
*
|
|
543
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-mixed-enums.
|
|
543
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-mixed-enums.mdx
|
|
544
544
|
*/
|
|
545
545
|
"@typescript-eslint/no-mixed-enums": "error",
|
|
546
546
|
/*
|
|
@@ -548,19 +548,19 @@ var rules = {
|
|
|
548
548
|
*
|
|
549
549
|
* This is off because sometimes it's nice to be able to define a type namespace
|
|
550
550
|
*
|
|
551
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-namespace.
|
|
551
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-namespace.mdx
|
|
552
552
|
*/
|
|
553
553
|
"@typescript-eslint/no-namespace": "off",
|
|
554
554
|
/*
|
|
555
555
|
* Disallows using a non-null assertion in the left operand of the nullish coalescing operator
|
|
556
556
|
*
|
|
557
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.
|
|
557
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-non-null-asserted-nullish-coalescing.mdx
|
|
558
558
|
*/
|
|
559
559
|
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|
|
560
560
|
/*
|
|
561
561
|
* Disallows using a non-null assertion after an optional chain expression
|
|
562
562
|
*
|
|
563
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.
|
|
563
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-non-null-asserted-optional-chain.mdx
|
|
564
564
|
*/
|
|
565
565
|
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
|
|
566
566
|
/*
|
|
@@ -568,61 +568,61 @@ var rules = {
|
|
|
568
568
|
*
|
|
569
569
|
* We like this language feature
|
|
570
570
|
*
|
|
571
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-non-null-assertion.
|
|
571
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-non-null-assertion.mdx
|
|
572
572
|
*/
|
|
573
573
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
574
574
|
/*
|
|
575
575
|
* Disallow variable redeclaration
|
|
576
576
|
*
|
|
577
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-redeclare.
|
|
577
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-redeclare.mdx
|
|
578
578
|
*/
|
|
579
579
|
"@typescript-eslint/no-redeclare": "error",
|
|
580
580
|
/*
|
|
581
581
|
* Disallow members of unions and intersections that do nothing or override type information.
|
|
582
582
|
*
|
|
583
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-redundant-type-constituents.
|
|
583
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-redundant-type-constituents.mdx
|
|
584
584
|
*/
|
|
585
585
|
"@typescript-eslint/no-redundant-type-constituents": "error",
|
|
586
586
|
/*
|
|
587
587
|
* Prefer the newer ES6-style imports over require().
|
|
588
588
|
*
|
|
589
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-require-imports.
|
|
589
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-require-imports.mdx
|
|
590
590
|
*/
|
|
591
591
|
"@typescript-eslint/no-require-imports": "error",
|
|
592
592
|
/*
|
|
593
593
|
* Disallows invocation of require()
|
|
594
594
|
*
|
|
595
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-restricted-imports.
|
|
595
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-restricted-imports.mdx
|
|
596
596
|
*/
|
|
597
597
|
"@typescript-eslint/no-restricted-imports": "error",
|
|
598
598
|
/*
|
|
599
599
|
* Disallow variable declarations from shadowing variables declared in the outer scope
|
|
600
600
|
*
|
|
601
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-shadow.
|
|
601
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-shadow.mdx
|
|
602
602
|
*/
|
|
603
603
|
"@typescript-eslint/no-shadow": "error",
|
|
604
604
|
/*
|
|
605
605
|
* Disallow aliasing this
|
|
606
606
|
*
|
|
607
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-this-alias.
|
|
607
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-this-alias.mdx
|
|
608
608
|
*/
|
|
609
609
|
"@typescript-eslint/no-this-alias": "error",
|
|
610
610
|
/*
|
|
611
611
|
* Disallow throwing literals as exceptions
|
|
612
612
|
*
|
|
613
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-throw-literal.
|
|
613
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-throw-literal.mdx
|
|
614
614
|
*/
|
|
615
615
|
"@typescript-eslint/no-throw-literal": "error",
|
|
616
616
|
/*
|
|
617
617
|
* Flags unnecessary equality comparisons against boolean literals
|
|
618
618
|
*
|
|
619
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.
|
|
619
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-boolean-literal-compare.mdx
|
|
620
620
|
*/
|
|
621
621
|
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
|
|
622
622
|
/*
|
|
623
623
|
* Condition expressions must be necessary
|
|
624
624
|
*
|
|
625
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-condition.
|
|
625
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-condition.mdx
|
|
626
626
|
*/
|
|
627
627
|
"@typescript-eslint/no-unnecessary-condition": [
|
|
628
628
|
"error",
|
|
@@ -633,55 +633,55 @@ var rules = {
|
|
|
633
633
|
/*
|
|
634
634
|
* Warns when a namespace qualifier is unnecessary.
|
|
635
635
|
*
|
|
636
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-qualifier.
|
|
636
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-qualifier.mdx
|
|
637
637
|
*/
|
|
638
638
|
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
|
639
639
|
/*
|
|
640
640
|
* Enforces that types will not to be used
|
|
641
641
|
*
|
|
642
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-type-arguments.
|
|
642
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-type-arguments.mdx
|
|
643
643
|
*/
|
|
644
644
|
"@typescript-eslint/no-unnecessary-type-arguments": "error",
|
|
645
645
|
/*
|
|
646
646
|
* Warns if a type assertion does not change the type of an expression
|
|
647
647
|
*
|
|
648
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-type-assertion.
|
|
648
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-type-assertion.mdx
|
|
649
649
|
*/
|
|
650
650
|
"@typescript-eslint/no-unnecessary-type-assertion": "error",
|
|
651
651
|
/*
|
|
652
652
|
* Disallows unnecessary constraints on generic types
|
|
653
653
|
*
|
|
654
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-type-constraint.
|
|
654
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-type-constraint.mdx
|
|
655
655
|
*/
|
|
656
656
|
"@typescript-eslint/no-unnecessary-type-constraint": "error",
|
|
657
657
|
/*
|
|
658
658
|
* Disallows calling an function with an any type value
|
|
659
659
|
*
|
|
660
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-argument.
|
|
660
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-argument.mdx
|
|
661
661
|
*/
|
|
662
662
|
"@typescript-eslint/no-unsafe-argument": "error",
|
|
663
663
|
/*
|
|
664
664
|
* Disallows assigning any to variables and properties
|
|
665
665
|
*
|
|
666
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-assignment.
|
|
666
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-assignment.mdx
|
|
667
667
|
*/
|
|
668
668
|
"@typescript-eslint/no-unsafe-assignment": "error",
|
|
669
669
|
/*
|
|
670
670
|
* Disallows calling an any type value
|
|
671
671
|
*
|
|
672
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-call.
|
|
672
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-call.mdx
|
|
673
673
|
*/
|
|
674
674
|
"@typescript-eslint/no-unsafe-call": "error",
|
|
675
675
|
/*
|
|
676
676
|
* Disallow unsafe declaration merging.
|
|
677
677
|
*
|
|
678
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-declaration-merging.
|
|
678
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-declaration-merging.mdx
|
|
679
679
|
*/
|
|
680
680
|
"@typescript-eslint/no-unsafe-declaration-merging": "error",
|
|
681
681
|
/*
|
|
682
682
|
* Disallow comparing an enum value with a non-enum value.
|
|
683
683
|
*
|
|
684
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-enum-comparison.
|
|
684
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-enum-comparison.mdx
|
|
685
685
|
*/
|
|
686
686
|
"@typescript-eslint/no-unsafe-enum-comparison": "error",
|
|
687
687
|
/*
|
|
@@ -689,37 +689,37 @@ var rules = {
|
|
|
689
689
|
*
|
|
690
690
|
* This rule seems to be very buggy and often reports incorrectly
|
|
691
691
|
*
|
|
692
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-member-access.
|
|
692
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-member-access.mdx
|
|
693
693
|
*/
|
|
694
694
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
695
695
|
/*
|
|
696
696
|
* Disallows returning any from a function
|
|
697
697
|
*
|
|
698
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-return.
|
|
698
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-return.mdx
|
|
699
699
|
*/
|
|
700
700
|
"@typescript-eslint/no-unsafe-return": "error",
|
|
701
701
|
/*
|
|
702
702
|
* Require unary negation to take a number.
|
|
703
703
|
*
|
|
704
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-unary-minus.
|
|
704
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unsafe-unary-minus.mdx
|
|
705
705
|
*/
|
|
706
706
|
"@typescript-eslint/no-unsafe-unary-minus": "error",
|
|
707
707
|
/*
|
|
708
708
|
* Disallow unused expressions
|
|
709
709
|
*
|
|
710
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unused-expressions.
|
|
710
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unused-expressions.mdx
|
|
711
711
|
*/
|
|
712
712
|
"@typescript-eslint/no-unused-expressions": "error",
|
|
713
713
|
/*
|
|
714
714
|
* Disallow unused variables
|
|
715
715
|
*
|
|
716
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unused-vars.
|
|
716
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unused-vars.mdx
|
|
717
717
|
*/
|
|
718
718
|
"@typescript-eslint/no-unused-vars": "error",
|
|
719
719
|
/*
|
|
720
720
|
* Disallow the use of variables before they are defined
|
|
721
721
|
*
|
|
722
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-use-before-define.
|
|
722
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-use-before-define.mdx
|
|
723
723
|
*/
|
|
724
724
|
"@typescript-eslint/no-use-before-define": [
|
|
725
725
|
"error",
|
|
@@ -732,49 +732,49 @@ var rules = {
|
|
|
732
732
|
/*
|
|
733
733
|
* Disallow unnecessary constructors
|
|
734
734
|
*
|
|
735
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-useless-constructor.
|
|
735
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-useless-constructor.mdx
|
|
736
736
|
*/
|
|
737
737
|
"@typescript-eslint/no-useless-constructor": "error",
|
|
738
738
|
/*
|
|
739
739
|
* Disallow empty exports that don't change anything in a module file.
|
|
740
740
|
*
|
|
741
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-useless-empty-export.
|
|
741
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-useless-empty-export.mdx
|
|
742
742
|
*/
|
|
743
743
|
"@typescript-eslint/no-useless-empty-export": "error",
|
|
744
744
|
/*
|
|
745
745
|
* Disallow unnecessary template literals.
|
|
746
746
|
*
|
|
747
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-useless-template-literals.
|
|
747
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-useless-template-literals.mdx
|
|
748
748
|
*/
|
|
749
749
|
"@typescript-eslint/no-useless-template-literals": "error",
|
|
750
750
|
/*
|
|
751
751
|
* Disallows the use of require statements except in import statements
|
|
752
752
|
*
|
|
753
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-var-requires.
|
|
753
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-var-requires.mdx
|
|
754
754
|
*/
|
|
755
755
|
"@typescript-eslint/no-var-requires": "error",
|
|
756
756
|
/*
|
|
757
757
|
* This rule detects when an as cast is doing the same job as a ! would, and suggests fixing the code to be an !.
|
|
758
758
|
*
|
|
759
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/non-nullable-type-assertion-style.
|
|
759
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/non-nullable-type-assertion-style.mdx
|
|
760
760
|
*/
|
|
761
761
|
"@typescript-eslint/non-nullable-type-assertion-style": "error",
|
|
762
762
|
/*
|
|
763
763
|
* Disallow the use of parameter properties in class constructors.
|
|
764
764
|
*
|
|
765
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/parameter-properties.
|
|
765
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/parameter-properties.mdx
|
|
766
766
|
*/
|
|
767
767
|
"@typescript-eslint/parameter-properties": "error",
|
|
768
768
|
/*
|
|
769
769
|
* Prefer usage of as const over literal type
|
|
770
770
|
*
|
|
771
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-as-const.
|
|
771
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-as-const.mdx
|
|
772
772
|
*/
|
|
773
773
|
"@typescript-eslint/prefer-as-const": "error",
|
|
774
774
|
/*
|
|
775
775
|
*
|
|
776
776
|
*
|
|
777
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-destructuring.
|
|
777
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-destructuring.mdx
|
|
778
778
|
*/
|
|
779
779
|
"@typescript-eslint/prefer-destructuring": [
|
|
780
780
|
"error",
|
|
@@ -786,67 +786,67 @@ var rules = {
|
|
|
786
786
|
/*
|
|
787
787
|
* Prefer initializing each enums member value
|
|
788
788
|
*
|
|
789
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-enum-initializers.
|
|
789
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-enum-initializers.mdx
|
|
790
790
|
*/
|
|
791
791
|
"@typescript-eslint/prefer-enum-initializers": "error",
|
|
792
792
|
/*
|
|
793
793
|
* Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result.
|
|
794
794
|
*
|
|
795
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-find.
|
|
795
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-find.mdx
|
|
796
796
|
*/
|
|
797
797
|
"@typescript-eslint/prefer-find": "error",
|
|
798
798
|
/*
|
|
799
799
|
* Use for-of loops instead of standard for loops over arrays
|
|
800
800
|
*
|
|
801
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-for-of.
|
|
801
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-for-of.mdx
|
|
802
802
|
*/
|
|
803
803
|
"@typescript-eslint/prefer-for-of": "error",
|
|
804
804
|
/*
|
|
805
805
|
* Use function types instead of interfaces with call signatures
|
|
806
806
|
*
|
|
807
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-function-type.
|
|
807
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-function-type.mdx
|
|
808
808
|
*/
|
|
809
809
|
"@typescript-eslint/prefer-function-type": "error",
|
|
810
810
|
/*
|
|
811
811
|
* Enforce includes method over indexOf method
|
|
812
812
|
*
|
|
813
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-includes.
|
|
813
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-includes.mdx
|
|
814
814
|
*/
|
|
815
815
|
"@typescript-eslint/prefer-includes": "error",
|
|
816
816
|
/*
|
|
817
817
|
* Require that all enum members be literal values to prevent unintended enum member name shadow issues
|
|
818
818
|
*
|
|
819
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-literal-enum-member.
|
|
819
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-literal-enum-member.mdx
|
|
820
820
|
*/
|
|
821
821
|
"@typescript-eslint/prefer-literal-enum-member": "error",
|
|
822
822
|
/*
|
|
823
823
|
* Require the use of the namespace keyword instead of the module keyword to declare custom TypeScript modules.
|
|
824
824
|
*
|
|
825
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-namespace-keyword.
|
|
825
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-namespace-keyword.mdx
|
|
826
826
|
*/
|
|
827
827
|
"@typescript-eslint/prefer-namespace-keyword": "error",
|
|
828
828
|
/*
|
|
829
829
|
* Enforce the usage of the nullish coalescing operator instead of logical chaining
|
|
830
830
|
*
|
|
831
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-nullish-coalescing.
|
|
831
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-nullish-coalescing.mdx
|
|
832
832
|
*/
|
|
833
833
|
"@typescript-eslint/prefer-nullish-coalescing": "error",
|
|
834
834
|
/*
|
|
835
835
|
* Prefer using concise optional chain expressions instead of chained logical ands
|
|
836
836
|
*
|
|
837
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-optional-chain.
|
|
837
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-optional-chain.mdx
|
|
838
838
|
*/
|
|
839
839
|
"@typescript-eslint/prefer-optional-chain": "error",
|
|
840
840
|
/*
|
|
841
841
|
* Require using Error objects as Promise rejection reasons.
|
|
842
842
|
*
|
|
843
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-promise-reject-errors.
|
|
843
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-promise-reject-errors.mdx
|
|
844
844
|
*/
|
|
845
845
|
"@typescript-eslint/prefer-promise-reject-errors": "error",
|
|
846
846
|
/*
|
|
847
847
|
* Require never-modified private members be marked as readonly
|
|
848
848
|
*
|
|
849
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-readonly.
|
|
849
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-readonly.mdx
|
|
850
850
|
*/
|
|
851
851
|
"@typescript-eslint/prefer-readonly": "error",
|
|
852
852
|
/*
|
|
@@ -854,37 +854,37 @@ var rules = {
|
|
|
854
854
|
*
|
|
855
855
|
* Appears like there are bugs in the rule and it's covered by no-param-reassign.
|
|
856
856
|
*
|
|
857
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-readonly-parameter-types.
|
|
857
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-readonly-parameter-types.mdx
|
|
858
858
|
*/
|
|
859
859
|
"@typescript-eslint/prefer-readonly-parameter-types": "off",
|
|
860
860
|
/*
|
|
861
861
|
* Prefer using type parameter when calling Array#reduce instead of casting
|
|
862
862
|
*
|
|
863
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-reduce-type-parameter.
|
|
863
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-reduce-type-parameter.mdx
|
|
864
864
|
*/
|
|
865
865
|
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
|
866
866
|
/*
|
|
867
867
|
* Enforce to use RegExp#exec over String#match
|
|
868
868
|
*
|
|
869
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-regexp-exec.
|
|
869
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-regexp-exec.mdx
|
|
870
870
|
*/
|
|
871
871
|
"@typescript-eslint/prefer-regexp-exec": "error",
|
|
872
872
|
/*
|
|
873
873
|
* Enforce that this is used when only this type is returned
|
|
874
874
|
*
|
|
875
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-return-this-type.
|
|
875
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-return-this-type.mdx
|
|
876
876
|
*/
|
|
877
877
|
"@typescript-eslint/prefer-return-this-type": "error",
|
|
878
878
|
/*
|
|
879
879
|
* Enforce the use of String#startsWith and String#endsWith instead of other equivalent methods of checking substrings
|
|
880
880
|
*
|
|
881
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-string-starts-ends-with.
|
|
881
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-string-starts-ends-with.mdx
|
|
882
882
|
*/
|
|
883
883
|
"@typescript-eslint/prefer-string-starts-ends-with": "error",
|
|
884
884
|
/*
|
|
885
885
|
* Recommends using // @ts-expect-error over // @ts-ignore
|
|
886
886
|
*
|
|
887
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-ts-expect-error.
|
|
887
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-ts-expect-error.mdx
|
|
888
888
|
*/
|
|
889
889
|
"@typescript-eslint/prefer-ts-expect-error": "error",
|
|
890
890
|
/*
|
|
@@ -892,31 +892,31 @@ var rules = {
|
|
|
892
892
|
*
|
|
893
893
|
* This is off for now because it conflicts with require-await in some cases
|
|
894
894
|
*
|
|
895
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/promise-function-async.
|
|
895
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/promise-function-async.mdx
|
|
896
896
|
*/
|
|
897
897
|
"@typescript-eslint/promise-function-async": "off",
|
|
898
898
|
/*
|
|
899
899
|
* Enforce giving compare argument to Array#sort
|
|
900
900
|
*
|
|
901
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/require-array-sort-compare.
|
|
901
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/require-array-sort-compare.mdx
|
|
902
902
|
*/
|
|
903
903
|
"@typescript-eslint/require-array-sort-compare": "error",
|
|
904
904
|
/*
|
|
905
905
|
* Disallow async functions which have no await expression
|
|
906
906
|
*
|
|
907
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/require-await.
|
|
907
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/require-await.mdx
|
|
908
908
|
*/
|
|
909
909
|
"@typescript-eslint/require-await": "error",
|
|
910
910
|
/*
|
|
911
911
|
* When adding two variables, operands must both be of type number or of type string.
|
|
912
912
|
*
|
|
913
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/restrict-plus-operands.
|
|
913
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/restrict-plus-operands.mdx
|
|
914
914
|
*/
|
|
915
915
|
"@typescript-eslint/restrict-plus-operands": "error",
|
|
916
916
|
/*
|
|
917
917
|
* Enforce template literal expressions to be of string type.
|
|
918
918
|
*
|
|
919
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/restrict-template-expressions.
|
|
919
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/restrict-template-expressions.mdx
|
|
920
920
|
*/
|
|
921
921
|
"@typescript-eslint/restrict-template-expressions": [
|
|
922
922
|
"error",
|
|
@@ -929,13 +929,13 @@ var rules = {
|
|
|
929
929
|
/*
|
|
930
930
|
* Require/Disallow returning awaited values in specific contexts
|
|
931
931
|
*
|
|
932
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/return-await.
|
|
932
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/return-await.mdx
|
|
933
933
|
*/
|
|
934
934
|
"@typescript-eslint/return-await": "error",
|
|
935
935
|
/*
|
|
936
936
|
* Enforce constituents of a type union/intersection to be sorted alphabetically.
|
|
937
937
|
*
|
|
938
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/sort-type-constituents.
|
|
938
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/sort-type-constituents.mdx
|
|
939
939
|
*/
|
|
940
940
|
"@typescript-eslint/sort-type-constituents": "error",
|
|
941
941
|
/*
|
|
@@ -943,19 +943,19 @@ var rules = {
|
|
|
943
943
|
*
|
|
944
944
|
* Off until ignoreRhs lands
|
|
945
945
|
*
|
|
946
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/strict-boolean-expressions.
|
|
946
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/strict-boolean-expressions.mdx
|
|
947
947
|
*/
|
|
948
948
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
949
949
|
/*
|
|
950
950
|
* Exhaustiveness checking in switch with union type
|
|
951
951
|
*
|
|
952
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.
|
|
952
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/switch-exhaustiveness-check.mdx
|
|
953
953
|
*/
|
|
954
954
|
"@typescript-eslint/switch-exhaustiveness-check": "error",
|
|
955
955
|
/*
|
|
956
956
|
* Sets preference level for triple slash directives versus ES6-style import declarations.
|
|
957
957
|
*
|
|
958
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/triple-slash-reference.
|
|
958
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/triple-slash-reference.mdx
|
|
959
959
|
*/
|
|
960
960
|
"@typescript-eslint/triple-slash-reference": [
|
|
961
961
|
"error",
|
|
@@ -975,21 +975,27 @@ var rules = {
|
|
|
975
975
|
* and/or --strictPropertyInitialization compiler options to enforce type
|
|
976
976
|
* annotations only when useful. (we do this)
|
|
977
977
|
*
|
|
978
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/typedef.
|
|
978
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/typedef.mdx
|
|
979
979
|
*/
|
|
980
980
|
"@typescript-eslint/typedef": "off",
|
|
981
981
|
/*
|
|
982
982
|
* Enforces unbound methods are called with their expected scope.
|
|
983
983
|
*
|
|
984
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/unbound-method.
|
|
984
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/unbound-method.mdx
|
|
985
985
|
*/
|
|
986
986
|
"@typescript-eslint/unbound-method": "error",
|
|
987
987
|
/*
|
|
988
988
|
* Warns for any two overloads that could be unified into one by using a union or an optional/rest parameter.
|
|
989
989
|
*
|
|
990
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/unified-signatures.
|
|
990
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/unified-signatures.mdx
|
|
991
991
|
*/
|
|
992
992
|
"@typescript-eslint/unified-signatures": "error",
|
|
993
|
+
/*
|
|
994
|
+
* This rule enforces that you always use the `unknown` type for the parameter of a `Promise.prototype.catch()` callback.
|
|
995
|
+
*
|
|
996
|
+
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/use-unknown-in-catch-callback-variable.mdx
|
|
997
|
+
*/
|
|
998
|
+
"@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
|
|
993
999
|
};
|
|
994
1000
|
module.exports = {
|
|
995
1001
|
rules: rules,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newsteam/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.225",
|
|
4
4
|
"description": "Shared config for eslint",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"eslint-plugin-you-dont-need-lodash-underscore": "6.13.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@stylistic/eslint-plugin": "1.
|
|
58
|
-
"@types/eslint": "8.56.
|
|
57
|
+
"@stylistic/eslint-plugin": "1.7.0",
|
|
58
|
+
"@types/eslint": "8.56.6",
|
|
59
59
|
"@types/jasmine": "^5.1.4",
|
|
60
|
-
"@types/node": "20.11.
|
|
61
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
62
|
-
"@typescript-eslint/parser": "7.
|
|
60
|
+
"@types/node": "20.11.30",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "7.3.1",
|
|
62
|
+
"@typescript-eslint/parser": "7.3.1",
|
|
63
63
|
"eslint": "8.57.0",
|
|
64
64
|
"eslint-find-rules": "4.1.0",
|
|
65
65
|
"eslint-plugin-array-func": "^4.0.0",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"eslint-plugin-postcss-modules": "2.0.0",
|
|
80
80
|
"eslint-plugin-prefer-object-spread": "1.2.1",
|
|
81
81
|
"eslint-plugin-promise": "6.1.1",
|
|
82
|
-
"eslint-plugin-react": "7.34.
|
|
82
|
+
"eslint-plugin-react": "7.34.1",
|
|
83
83
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
84
84
|
"eslint-plugin-react-native": "4.1.0",
|
|
85
85
|
"eslint-plugin-react-perf": "3.3.2",
|
|
86
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
86
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
87
87
|
"eslint-plugin-security": "2.1.1",
|
|
88
88
|
"eslint-plugin-sort-keys-fix": "1.1.2",
|
|
89
89
|
"eslint-plugin-unicorn": "51.0.1",
|
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
"typescript": "5.4.2"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"@stylistic/eslint-plugin": "1.
|
|
96
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
97
|
-
"@typescript-eslint/parser": "7.
|
|
95
|
+
"@stylistic/eslint-plugin": "1.7.0",
|
|
96
|
+
"@typescript-eslint/eslint-plugin": "7.3.1",
|
|
97
|
+
"@typescript-eslint/parser": "7.3.1",
|
|
98
98
|
"eslint": "8.57.0",
|
|
99
99
|
"eslint-plugin-array-func": "^4.0.0",
|
|
100
100
|
"eslint-plugin-css-modules": "2.12.0",
|
|
@@ -112,11 +112,11 @@
|
|
|
112
112
|
"eslint-plugin-postcss-modules": "2.0.0",
|
|
113
113
|
"eslint-plugin-prefer-object-spread": "1.2.1",
|
|
114
114
|
"eslint-plugin-promise": "6.1.1",
|
|
115
|
-
"eslint-plugin-react": "7.34.
|
|
115
|
+
"eslint-plugin-react": "7.34.1",
|
|
116
116
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
117
117
|
"eslint-plugin-react-native": "4.1.0",
|
|
118
118
|
"eslint-plugin-react-perf": "3.3.2",
|
|
119
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
119
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
120
120
|
"eslint-plugin-security": "2.1.1",
|
|
121
121
|
"eslint-plugin-sort-keys-fix": "1.1.2",
|
|
122
122
|
"eslint-plugin-unicorn": "51.0.1",
|