@eslint-react/eslint-plugin 2.0.0-next.160 → 2.0.0-next.164
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/README.md +29 -27
- package/dist/index.d.ts +79 -79
- package/dist/index.js +1 -1
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -69,40 +69,42 @@ npm install --save-dev typescript-eslint @eslint-react/eslint-plugin
|
|
|
69
69
|
```js
|
|
70
70
|
// eslint.config.js
|
|
71
71
|
|
|
72
|
-
// @ts-check
|
|
73
72
|
import eslintReact from "@eslint-react/eslint-plugin";
|
|
74
73
|
import eslintJs from "@eslint/js";
|
|
74
|
+
import { defineConfig } from "eslint/config";
|
|
75
75
|
import tseslint from "typescript-eslint";
|
|
76
76
|
|
|
77
|
-
export default
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
77
|
+
export default defineConfig([
|
|
78
|
+
{
|
|
79
|
+
files: ["**/*.ts", "**/*.tsx"],
|
|
80
|
+
|
|
81
|
+
// Extend recommended rule sets from:
|
|
82
|
+
// 1. ESLint JS's recommended rules
|
|
83
|
+
// 2. TypeScript ESLint recommended rules
|
|
84
|
+
// 3. ESLint React's recommended-typescript rules
|
|
85
|
+
extends: [
|
|
86
|
+
eslintJs.configs.recommended,
|
|
87
|
+
tseslint.configs.recommended,
|
|
88
|
+
eslintReact.configs["recommended-typescript"],
|
|
89
|
+
],
|
|
90
|
+
|
|
91
|
+
// Configure language/parsing options
|
|
92
|
+
languageOptions: {
|
|
93
|
+
// Use TypeScript ESLint parser for TypeScript files
|
|
94
|
+
parser: tseslint.parser,
|
|
95
|
+
parserOptions: {
|
|
96
|
+
// Enable project service for better TypeScript integration
|
|
97
|
+
projectService: true,
|
|
98
|
+
tsconfigRootDir: import.meta.dirname,
|
|
99
|
+
},
|
|
98
100
|
},
|
|
99
|
-
},
|
|
100
101
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
// Custom rule overrides (modify rule levels or disable rules)
|
|
103
|
+
rules: {
|
|
104
|
+
"@eslint-react/no-missing-key": "warn",
|
|
105
|
+
},
|
|
104
106
|
},
|
|
105
|
-
|
|
107
|
+
]);
|
|
106
108
|
```
|
|
107
109
|
|
|
108
110
|
[Full Installation Guide ↗](https://eslint-react.xyz/docs/getting-started/typescript)
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _eslint_react_kit15 from "@eslint-react/kit";
|
|
2
2
|
import { RuleConfig } from "@eslint-react/kit";
|
|
3
3
|
|
|
4
4
|
//#region src/configs/all.d.ts
|
|
@@ -101,7 +101,7 @@ declare const plugins$6: {
|
|
|
101
101
|
plugins: {};
|
|
102
102
|
name?: string;
|
|
103
103
|
rules?: Record<string, RuleConfig>;
|
|
104
|
-
settings?:
|
|
104
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
105
105
|
};
|
|
106
106
|
"all-legacy": {
|
|
107
107
|
plugins: string[];
|
|
@@ -112,7 +112,7 @@ declare const plugins$6: {
|
|
|
112
112
|
name: string;
|
|
113
113
|
version: string;
|
|
114
114
|
};
|
|
115
|
-
rules: Record<string,
|
|
115
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
116
116
|
};
|
|
117
117
|
"@eslint-react/hooks-extra": {
|
|
118
118
|
configs: {
|
|
@@ -120,7 +120,7 @@ declare const plugins$6: {
|
|
|
120
120
|
plugins: {};
|
|
121
121
|
name?: string;
|
|
122
122
|
rules?: Record<string, RuleConfig>;
|
|
123
|
-
settings?:
|
|
123
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
124
124
|
};
|
|
125
125
|
"recommended-legacy": {
|
|
126
126
|
plugins: string[];
|
|
@@ -131,7 +131,7 @@ declare const plugins$6: {
|
|
|
131
131
|
name: string;
|
|
132
132
|
version: string;
|
|
133
133
|
};
|
|
134
|
-
rules: Record<string,
|
|
134
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
135
135
|
};
|
|
136
136
|
"@eslint-react/naming-convention": {
|
|
137
137
|
configs: {
|
|
@@ -139,7 +139,7 @@ declare const plugins$6: {
|
|
|
139
139
|
plugins: {};
|
|
140
140
|
name?: string;
|
|
141
141
|
rules?: Record<string, RuleConfig>;
|
|
142
|
-
settings?:
|
|
142
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
143
143
|
};
|
|
144
144
|
"recommended-legacy": {
|
|
145
145
|
plugins: string[];
|
|
@@ -150,7 +150,7 @@ declare const plugins$6: {
|
|
|
150
150
|
name: string;
|
|
151
151
|
version: string;
|
|
152
152
|
};
|
|
153
|
-
rules: Record<string,
|
|
153
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
154
154
|
};
|
|
155
155
|
"@eslint-react/web-api": {
|
|
156
156
|
configs: {
|
|
@@ -158,7 +158,7 @@ declare const plugins$6: {
|
|
|
158
158
|
plugins: {};
|
|
159
159
|
name?: string;
|
|
160
160
|
rules?: Record<string, RuleConfig>;
|
|
161
|
-
settings?:
|
|
161
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
162
162
|
};
|
|
163
163
|
"recommended-legacy": {
|
|
164
164
|
plugins: string[];
|
|
@@ -169,7 +169,7 @@ declare const plugins$6: {
|
|
|
169
169
|
name: string;
|
|
170
170
|
version: string;
|
|
171
171
|
};
|
|
172
|
-
rules: Record<string,
|
|
172
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
173
173
|
};
|
|
174
174
|
"@eslint-react/dom": {
|
|
175
175
|
configs: {
|
|
@@ -177,7 +177,7 @@ declare const plugins$6: {
|
|
|
177
177
|
plugins: {};
|
|
178
178
|
name?: string;
|
|
179
179
|
rules?: Record<string, RuleConfig>;
|
|
180
|
-
settings?:
|
|
180
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
181
181
|
};
|
|
182
182
|
"recommended-legacy": {
|
|
183
183
|
plugins: string[];
|
|
@@ -188,7 +188,7 @@ declare const plugins$6: {
|
|
|
188
188
|
name: string;
|
|
189
189
|
version: string;
|
|
190
190
|
};
|
|
191
|
-
rules: Record<string,
|
|
191
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
192
192
|
};
|
|
193
193
|
"@eslint-react": {
|
|
194
194
|
configs: {
|
|
@@ -196,7 +196,7 @@ declare const plugins$6: {
|
|
|
196
196
|
plugins: {};
|
|
197
197
|
name?: string;
|
|
198
198
|
rules?: Record<string, RuleConfig>;
|
|
199
|
-
settings?:
|
|
199
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
200
200
|
};
|
|
201
201
|
"recommended-legacy": {
|
|
202
202
|
plugins: string[];
|
|
@@ -206,7 +206,7 @@ declare const plugins$6: {
|
|
|
206
206
|
plugins: {};
|
|
207
207
|
name?: string;
|
|
208
208
|
rules?: Record<string, RuleConfig>;
|
|
209
|
-
settings?:
|
|
209
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
210
210
|
};
|
|
211
211
|
"recommended-type-checked-legacy": {
|
|
212
212
|
plugins: string[];
|
|
@@ -216,7 +216,7 @@ declare const plugins$6: {
|
|
|
216
216
|
plugins: {};
|
|
217
217
|
name?: string;
|
|
218
218
|
rules?: Record<string, RuleConfig>;
|
|
219
|
-
settings?:
|
|
219
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
220
220
|
};
|
|
221
221
|
"recommended-typescript-legacy": {
|
|
222
222
|
plugins: string[];
|
|
@@ -227,7 +227,7 @@ declare const plugins$6: {
|
|
|
227
227
|
name: string;
|
|
228
228
|
version: string;
|
|
229
229
|
};
|
|
230
|
-
rules: Record<string,
|
|
230
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
231
231
|
};
|
|
232
232
|
};
|
|
233
233
|
declare const settings$5: {
|
|
@@ -262,7 +262,7 @@ declare const plugins$5: {
|
|
|
262
262
|
plugins: {};
|
|
263
263
|
name?: string;
|
|
264
264
|
rules?: Record<string, RuleConfig>;
|
|
265
|
-
settings?:
|
|
265
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
266
266
|
};
|
|
267
267
|
"all-legacy": {
|
|
268
268
|
plugins: string[];
|
|
@@ -273,7 +273,7 @@ declare const plugins$5: {
|
|
|
273
273
|
name: string;
|
|
274
274
|
version: string;
|
|
275
275
|
};
|
|
276
|
-
rules: Record<string,
|
|
276
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
277
277
|
};
|
|
278
278
|
};
|
|
279
279
|
declare namespace disable_conflict_eslint_plugin_react_d_exports {
|
|
@@ -329,7 +329,7 @@ declare const plugins$4: {
|
|
|
329
329
|
plugins: {};
|
|
330
330
|
name?: string;
|
|
331
331
|
rules?: Record<string, RuleConfig>;
|
|
332
|
-
settings?:
|
|
332
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
333
333
|
};
|
|
334
334
|
"recommended-legacy": {
|
|
335
335
|
plugins: string[];
|
|
@@ -340,7 +340,7 @@ declare const plugins$4: {
|
|
|
340
340
|
name: string;
|
|
341
341
|
version: string;
|
|
342
342
|
};
|
|
343
|
-
rules: Record<string,
|
|
343
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
344
344
|
};
|
|
345
345
|
};
|
|
346
346
|
declare const settings$4: {
|
|
@@ -438,7 +438,7 @@ declare const plugins$3: {
|
|
|
438
438
|
plugins: {};
|
|
439
439
|
name?: string;
|
|
440
440
|
rules?: Record<string, RuleConfig>;
|
|
441
|
-
settings?:
|
|
441
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
442
442
|
};
|
|
443
443
|
"all-legacy": {
|
|
444
444
|
plugins: string[];
|
|
@@ -449,7 +449,7 @@ declare const plugins$3: {
|
|
|
449
449
|
name: string;
|
|
450
450
|
version: string;
|
|
451
451
|
};
|
|
452
|
-
rules: Record<string,
|
|
452
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
453
453
|
};
|
|
454
454
|
"@eslint-react/hooks-extra": {
|
|
455
455
|
configs: {
|
|
@@ -457,7 +457,7 @@ declare const plugins$3: {
|
|
|
457
457
|
plugins: {};
|
|
458
458
|
name?: string;
|
|
459
459
|
rules?: Record<string, RuleConfig>;
|
|
460
|
-
settings?:
|
|
460
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
461
461
|
};
|
|
462
462
|
"recommended-legacy": {
|
|
463
463
|
plugins: string[];
|
|
@@ -468,7 +468,7 @@ declare const plugins$3: {
|
|
|
468
468
|
name: string;
|
|
469
469
|
version: string;
|
|
470
470
|
};
|
|
471
|
-
rules: Record<string,
|
|
471
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
472
472
|
};
|
|
473
473
|
"@eslint-react/naming-convention": {
|
|
474
474
|
configs: {
|
|
@@ -476,7 +476,7 @@ declare const plugins$3: {
|
|
|
476
476
|
plugins: {};
|
|
477
477
|
name?: string;
|
|
478
478
|
rules?: Record<string, RuleConfig>;
|
|
479
|
-
settings?:
|
|
479
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
480
480
|
};
|
|
481
481
|
"recommended-legacy": {
|
|
482
482
|
plugins: string[];
|
|
@@ -487,7 +487,7 @@ declare const plugins$3: {
|
|
|
487
487
|
name: string;
|
|
488
488
|
version: string;
|
|
489
489
|
};
|
|
490
|
-
rules: Record<string,
|
|
490
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
491
491
|
};
|
|
492
492
|
"@eslint-react/web-api": {
|
|
493
493
|
configs: {
|
|
@@ -495,7 +495,7 @@ declare const plugins$3: {
|
|
|
495
495
|
plugins: {};
|
|
496
496
|
name?: string;
|
|
497
497
|
rules?: Record<string, RuleConfig>;
|
|
498
|
-
settings?:
|
|
498
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
499
499
|
};
|
|
500
500
|
"recommended-legacy": {
|
|
501
501
|
plugins: string[];
|
|
@@ -506,7 +506,7 @@ declare const plugins$3: {
|
|
|
506
506
|
name: string;
|
|
507
507
|
version: string;
|
|
508
508
|
};
|
|
509
|
-
rules: Record<string,
|
|
509
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
510
510
|
};
|
|
511
511
|
"@eslint-react/dom": {
|
|
512
512
|
configs: {
|
|
@@ -514,7 +514,7 @@ declare const plugins$3: {
|
|
|
514
514
|
plugins: {};
|
|
515
515
|
name?: string;
|
|
516
516
|
rules?: Record<string, RuleConfig>;
|
|
517
|
-
settings?:
|
|
517
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
518
518
|
};
|
|
519
519
|
"recommended-legacy": {
|
|
520
520
|
plugins: string[];
|
|
@@ -525,7 +525,7 @@ declare const plugins$3: {
|
|
|
525
525
|
name: string;
|
|
526
526
|
version: string;
|
|
527
527
|
};
|
|
528
|
-
rules: Record<string,
|
|
528
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
529
529
|
};
|
|
530
530
|
"@eslint-react": {
|
|
531
531
|
configs: {
|
|
@@ -533,7 +533,7 @@ declare const plugins$3: {
|
|
|
533
533
|
plugins: {};
|
|
534
534
|
name?: string;
|
|
535
535
|
rules?: Record<string, RuleConfig>;
|
|
536
|
-
settings?:
|
|
536
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
537
537
|
};
|
|
538
538
|
"recommended-legacy": {
|
|
539
539
|
plugins: string[];
|
|
@@ -543,7 +543,7 @@ declare const plugins$3: {
|
|
|
543
543
|
plugins: {};
|
|
544
544
|
name?: string;
|
|
545
545
|
rules?: Record<string, RuleConfig>;
|
|
546
|
-
settings?:
|
|
546
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
547
547
|
};
|
|
548
548
|
"recommended-type-checked-legacy": {
|
|
549
549
|
plugins: string[];
|
|
@@ -553,7 +553,7 @@ declare const plugins$3: {
|
|
|
553
553
|
plugins: {};
|
|
554
554
|
name?: string;
|
|
555
555
|
rules?: Record<string, RuleConfig>;
|
|
556
|
-
settings?:
|
|
556
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
557
557
|
};
|
|
558
558
|
"recommended-typescript-legacy": {
|
|
559
559
|
plugins: string[];
|
|
@@ -564,7 +564,7 @@ declare const plugins$3: {
|
|
|
564
564
|
name: string;
|
|
565
565
|
version: string;
|
|
566
566
|
};
|
|
567
|
-
rules: Record<string,
|
|
567
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
568
568
|
};
|
|
569
569
|
};
|
|
570
570
|
declare const settings$3: {
|
|
@@ -661,7 +661,7 @@ declare const plugins$2: {
|
|
|
661
661
|
plugins: {};
|
|
662
662
|
name?: string;
|
|
663
663
|
rules?: Record<string, RuleConfig>;
|
|
664
|
-
settings?:
|
|
664
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
665
665
|
};
|
|
666
666
|
"all-legacy": {
|
|
667
667
|
plugins: string[];
|
|
@@ -672,7 +672,7 @@ declare const plugins$2: {
|
|
|
672
672
|
name: string;
|
|
673
673
|
version: string;
|
|
674
674
|
};
|
|
675
|
-
rules: Record<string,
|
|
675
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
676
676
|
};
|
|
677
677
|
"@eslint-react/hooks-extra": {
|
|
678
678
|
configs: {
|
|
@@ -680,7 +680,7 @@ declare const plugins$2: {
|
|
|
680
680
|
plugins: {};
|
|
681
681
|
name?: string;
|
|
682
682
|
rules?: Record<string, RuleConfig>;
|
|
683
|
-
settings?:
|
|
683
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
684
684
|
};
|
|
685
685
|
"recommended-legacy": {
|
|
686
686
|
plugins: string[];
|
|
@@ -691,7 +691,7 @@ declare const plugins$2: {
|
|
|
691
691
|
name: string;
|
|
692
692
|
version: string;
|
|
693
693
|
};
|
|
694
|
-
rules: Record<string,
|
|
694
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
695
695
|
};
|
|
696
696
|
"@eslint-react/naming-convention": {
|
|
697
697
|
configs: {
|
|
@@ -699,7 +699,7 @@ declare const plugins$2: {
|
|
|
699
699
|
plugins: {};
|
|
700
700
|
name?: string;
|
|
701
701
|
rules?: Record<string, RuleConfig>;
|
|
702
|
-
settings?:
|
|
702
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
703
703
|
};
|
|
704
704
|
"recommended-legacy": {
|
|
705
705
|
plugins: string[];
|
|
@@ -710,7 +710,7 @@ declare const plugins$2: {
|
|
|
710
710
|
name: string;
|
|
711
711
|
version: string;
|
|
712
712
|
};
|
|
713
|
-
rules: Record<string,
|
|
713
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
714
714
|
};
|
|
715
715
|
"@eslint-react/web-api": {
|
|
716
716
|
configs: {
|
|
@@ -718,7 +718,7 @@ declare const plugins$2: {
|
|
|
718
718
|
plugins: {};
|
|
719
719
|
name?: string;
|
|
720
720
|
rules?: Record<string, RuleConfig>;
|
|
721
|
-
settings?:
|
|
721
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
722
722
|
};
|
|
723
723
|
"recommended-legacy": {
|
|
724
724
|
plugins: string[];
|
|
@@ -729,7 +729,7 @@ declare const plugins$2: {
|
|
|
729
729
|
name: string;
|
|
730
730
|
version: string;
|
|
731
731
|
};
|
|
732
|
-
rules: Record<string,
|
|
732
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
733
733
|
};
|
|
734
734
|
"@eslint-react/dom": {
|
|
735
735
|
configs: {
|
|
@@ -737,7 +737,7 @@ declare const plugins$2: {
|
|
|
737
737
|
plugins: {};
|
|
738
738
|
name?: string;
|
|
739
739
|
rules?: Record<string, RuleConfig>;
|
|
740
|
-
settings?:
|
|
740
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
741
741
|
};
|
|
742
742
|
"recommended-legacy": {
|
|
743
743
|
plugins: string[];
|
|
@@ -748,7 +748,7 @@ declare const plugins$2: {
|
|
|
748
748
|
name: string;
|
|
749
749
|
version: string;
|
|
750
750
|
};
|
|
751
|
-
rules: Record<string,
|
|
751
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
752
752
|
};
|
|
753
753
|
"@eslint-react": {
|
|
754
754
|
configs: {
|
|
@@ -756,7 +756,7 @@ declare const plugins$2: {
|
|
|
756
756
|
plugins: {};
|
|
757
757
|
name?: string;
|
|
758
758
|
rules?: Record<string, RuleConfig>;
|
|
759
|
-
settings?:
|
|
759
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
760
760
|
};
|
|
761
761
|
"recommended-legacy": {
|
|
762
762
|
plugins: string[];
|
|
@@ -766,7 +766,7 @@ declare const plugins$2: {
|
|
|
766
766
|
plugins: {};
|
|
767
767
|
name?: string;
|
|
768
768
|
rules?: Record<string, RuleConfig>;
|
|
769
|
-
settings?:
|
|
769
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
770
770
|
};
|
|
771
771
|
"recommended-type-checked-legacy": {
|
|
772
772
|
plugins: string[];
|
|
@@ -776,7 +776,7 @@ declare const plugins$2: {
|
|
|
776
776
|
plugins: {};
|
|
777
777
|
name?: string;
|
|
778
778
|
rules?: Record<string, RuleConfig>;
|
|
779
|
-
settings?:
|
|
779
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
780
780
|
};
|
|
781
781
|
"recommended-typescript-legacy": {
|
|
782
782
|
plugins: string[];
|
|
@@ -787,7 +787,7 @@ declare const plugins$2: {
|
|
|
787
787
|
name: string;
|
|
788
788
|
version: string;
|
|
789
789
|
};
|
|
790
|
-
rules: Record<string,
|
|
790
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
791
791
|
};
|
|
792
792
|
};
|
|
793
793
|
declare const settings$2: {
|
|
@@ -882,7 +882,7 @@ declare const plugins$1: {
|
|
|
882
882
|
plugins: {};
|
|
883
883
|
name?: string;
|
|
884
884
|
rules?: Record<string, RuleConfig>;
|
|
885
|
-
settings?:
|
|
885
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
886
886
|
};
|
|
887
887
|
"all-legacy": {
|
|
888
888
|
plugins: string[];
|
|
@@ -893,7 +893,7 @@ declare const plugins$1: {
|
|
|
893
893
|
name: string;
|
|
894
894
|
version: string;
|
|
895
895
|
};
|
|
896
|
-
rules: Record<string,
|
|
896
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
897
897
|
};
|
|
898
898
|
"@eslint-react/hooks-extra": {
|
|
899
899
|
configs: {
|
|
@@ -901,7 +901,7 @@ declare const plugins$1: {
|
|
|
901
901
|
plugins: {};
|
|
902
902
|
name?: string;
|
|
903
903
|
rules?: Record<string, RuleConfig>;
|
|
904
|
-
settings?:
|
|
904
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
905
905
|
};
|
|
906
906
|
"recommended-legacy": {
|
|
907
907
|
plugins: string[];
|
|
@@ -912,7 +912,7 @@ declare const plugins$1: {
|
|
|
912
912
|
name: string;
|
|
913
913
|
version: string;
|
|
914
914
|
};
|
|
915
|
-
rules: Record<string,
|
|
915
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
916
916
|
};
|
|
917
917
|
"@eslint-react/naming-convention": {
|
|
918
918
|
configs: {
|
|
@@ -920,7 +920,7 @@ declare const plugins$1: {
|
|
|
920
920
|
plugins: {};
|
|
921
921
|
name?: string;
|
|
922
922
|
rules?: Record<string, RuleConfig>;
|
|
923
|
-
settings?:
|
|
923
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
924
924
|
};
|
|
925
925
|
"recommended-legacy": {
|
|
926
926
|
plugins: string[];
|
|
@@ -931,7 +931,7 @@ declare const plugins$1: {
|
|
|
931
931
|
name: string;
|
|
932
932
|
version: string;
|
|
933
933
|
};
|
|
934
|
-
rules: Record<string,
|
|
934
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
935
935
|
};
|
|
936
936
|
"@eslint-react/web-api": {
|
|
937
937
|
configs: {
|
|
@@ -939,7 +939,7 @@ declare const plugins$1: {
|
|
|
939
939
|
plugins: {};
|
|
940
940
|
name?: string;
|
|
941
941
|
rules?: Record<string, RuleConfig>;
|
|
942
|
-
settings?:
|
|
942
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
943
943
|
};
|
|
944
944
|
"recommended-legacy": {
|
|
945
945
|
plugins: string[];
|
|
@@ -950,7 +950,7 @@ declare const plugins$1: {
|
|
|
950
950
|
name: string;
|
|
951
951
|
version: string;
|
|
952
952
|
};
|
|
953
|
-
rules: Record<string,
|
|
953
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
954
954
|
};
|
|
955
955
|
"@eslint-react/dom": {
|
|
956
956
|
configs: {
|
|
@@ -958,7 +958,7 @@ declare const plugins$1: {
|
|
|
958
958
|
plugins: {};
|
|
959
959
|
name?: string;
|
|
960
960
|
rules?: Record<string, RuleConfig>;
|
|
961
|
-
settings?:
|
|
961
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
962
962
|
};
|
|
963
963
|
"recommended-legacy": {
|
|
964
964
|
plugins: string[];
|
|
@@ -969,7 +969,7 @@ declare const plugins$1: {
|
|
|
969
969
|
name: string;
|
|
970
970
|
version: string;
|
|
971
971
|
};
|
|
972
|
-
rules: Record<string,
|
|
972
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
973
973
|
};
|
|
974
974
|
"@eslint-react": {
|
|
975
975
|
configs: {
|
|
@@ -977,7 +977,7 @@ declare const plugins$1: {
|
|
|
977
977
|
plugins: {};
|
|
978
978
|
name?: string;
|
|
979
979
|
rules?: Record<string, RuleConfig>;
|
|
980
|
-
settings?:
|
|
980
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
981
981
|
};
|
|
982
982
|
"recommended-legacy": {
|
|
983
983
|
plugins: string[];
|
|
@@ -987,7 +987,7 @@ declare const plugins$1: {
|
|
|
987
987
|
plugins: {};
|
|
988
988
|
name?: string;
|
|
989
989
|
rules?: Record<string, RuleConfig>;
|
|
990
|
-
settings?:
|
|
990
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
991
991
|
};
|
|
992
992
|
"recommended-type-checked-legacy": {
|
|
993
993
|
plugins: string[];
|
|
@@ -997,7 +997,7 @@ declare const plugins$1: {
|
|
|
997
997
|
plugins: {};
|
|
998
998
|
name?: string;
|
|
999
999
|
rules?: Record<string, RuleConfig>;
|
|
1000
|
-
settings?:
|
|
1000
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
1001
1001
|
};
|
|
1002
1002
|
"recommended-typescript-legacy": {
|
|
1003
1003
|
plugins: string[];
|
|
@@ -1008,7 +1008,7 @@ declare const plugins$1: {
|
|
|
1008
1008
|
name: string;
|
|
1009
1009
|
version: string;
|
|
1010
1010
|
};
|
|
1011
|
-
rules: Record<string,
|
|
1011
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
1012
1012
|
};
|
|
1013
1013
|
};
|
|
1014
1014
|
declare const settings$1: {
|
|
@@ -1081,7 +1081,7 @@ declare const plugins: {
|
|
|
1081
1081
|
plugins: {};
|
|
1082
1082
|
name?: string;
|
|
1083
1083
|
rules?: Record<string, RuleConfig>;
|
|
1084
|
-
settings?:
|
|
1084
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
1085
1085
|
};
|
|
1086
1086
|
"recommended-legacy": {
|
|
1087
1087
|
plugins: string[];
|
|
@@ -1091,7 +1091,7 @@ declare const plugins: {
|
|
|
1091
1091
|
plugins: {};
|
|
1092
1092
|
name?: string;
|
|
1093
1093
|
rules?: Record<string, RuleConfig>;
|
|
1094
|
-
settings?:
|
|
1094
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
1095
1095
|
};
|
|
1096
1096
|
"recommended-type-checked-legacy": {
|
|
1097
1097
|
plugins: string[];
|
|
@@ -1101,7 +1101,7 @@ declare const plugins: {
|
|
|
1101
1101
|
plugins: {};
|
|
1102
1102
|
name?: string;
|
|
1103
1103
|
rules?: Record<string, RuleConfig>;
|
|
1104
|
-
settings?:
|
|
1104
|
+
settings?: _eslint_react_kit15.SettingsConfig;
|
|
1105
1105
|
};
|
|
1106
1106
|
"recommended-typescript-legacy": {
|
|
1107
1107
|
plugins: string[];
|
|
@@ -1112,7 +1112,7 @@ declare const plugins: {
|
|
|
1112
1112
|
name: string;
|
|
1113
1113
|
version: string;
|
|
1114
1114
|
};
|
|
1115
|
-
rules: Record<string,
|
|
1115
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
1116
1116
|
};
|
|
1117
1117
|
};
|
|
1118
1118
|
declare const settings: {
|
|
@@ -1136,74 +1136,74 @@ declare const _default: {
|
|
|
1136
1136
|
all: typeof all_d_exports;
|
|
1137
1137
|
"all-legacy": {
|
|
1138
1138
|
plugins: string[];
|
|
1139
|
-
rules: Record<string,
|
|
1139
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1140
1140
|
};
|
|
1141
1141
|
debug: typeof debug_d_exports;
|
|
1142
1142
|
"debug-legacy": {
|
|
1143
1143
|
plugins: string[];
|
|
1144
|
-
rules: Record<string,
|
|
1144
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1145
1145
|
};
|
|
1146
1146
|
"disable-conflict-eslint-plugin-react": typeof disable_conflict_eslint_plugin_react_d_exports;
|
|
1147
1147
|
"disable-conflict-eslint-plugin-react-legacy": {
|
|
1148
1148
|
plugins: string[];
|
|
1149
|
-
rules: Record<string,
|
|
1149
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1150
1150
|
};
|
|
1151
1151
|
"disable-debug": typeof disable_debug_d_exports;
|
|
1152
1152
|
"disable-debug-legacy": {
|
|
1153
1153
|
plugins: string[];
|
|
1154
|
-
rules: Record<string,
|
|
1154
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1155
1155
|
};
|
|
1156
1156
|
"disable-dom": typeof disable_dom_d_exports;
|
|
1157
1157
|
"disable-dom-legacy": {
|
|
1158
1158
|
plugins: string[];
|
|
1159
|
-
rules: Record<string,
|
|
1159
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1160
1160
|
};
|
|
1161
1161
|
"disable-type-checked": typeof disable_type_checked_d_exports;
|
|
1162
1162
|
"disable-type-checked-legacy": {
|
|
1163
1163
|
plugins: string[];
|
|
1164
|
-
rules: Record<string,
|
|
1164
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1165
1165
|
};
|
|
1166
1166
|
"disable-web-api": typeof disable_web_api_d_exports;
|
|
1167
1167
|
"disable-web-api-legacy": {
|
|
1168
1168
|
plugins: string[];
|
|
1169
|
-
rules: Record<string,
|
|
1169
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1170
1170
|
};
|
|
1171
1171
|
dom: typeof dom_d_exports;
|
|
1172
1172
|
"dom-legacy": {
|
|
1173
1173
|
plugins: string[];
|
|
1174
|
-
rules: Record<string,
|
|
1174
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1175
1175
|
};
|
|
1176
1176
|
off: typeof off_d_exports;
|
|
1177
1177
|
"off-legacy": {
|
|
1178
1178
|
plugins: string[];
|
|
1179
|
-
rules: Record<string,
|
|
1179
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1180
1180
|
};
|
|
1181
1181
|
recommended: typeof recommended_d_exports;
|
|
1182
1182
|
"recommended-legacy": {
|
|
1183
1183
|
plugins: string[];
|
|
1184
|
-
rules: Record<string,
|
|
1184
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1185
1185
|
};
|
|
1186
1186
|
"recommended-type-checked": typeof recommended_type_checked_d_exports;
|
|
1187
1187
|
"recommended-type-checked-legacy": {
|
|
1188
1188
|
plugins: string[];
|
|
1189
|
-
rules: Record<string,
|
|
1189
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1190
1190
|
};
|
|
1191
1191
|
"recommended-typescript": typeof recommended_typescript_d_exports;
|
|
1192
1192
|
"recommended-typescript-legacy": {
|
|
1193
1193
|
plugins: string[];
|
|
1194
|
-
rules: Record<string,
|
|
1194
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1195
1195
|
};
|
|
1196
1196
|
x: typeof x_d_exports;
|
|
1197
1197
|
"x-legacy": {
|
|
1198
1198
|
plugins: string[];
|
|
1199
|
-
rules: Record<string,
|
|
1199
|
+
rules: Record<string, _eslint_react_kit15.RuleConfig<unknown[]>> | undefined;
|
|
1200
1200
|
};
|
|
1201
1201
|
};
|
|
1202
1202
|
meta: {
|
|
1203
1203
|
name: string;
|
|
1204
1204
|
version: string;
|
|
1205
1205
|
};
|
|
1206
|
-
rules: Record<string,
|
|
1206
|
+
rules: Record<string, _eslint_react_kit15.CompatibleRule>;
|
|
1207
1207
|
};
|
|
1208
1208
|
//#endregion
|
|
1209
1209
|
export { _default as default };
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";
|
|
|
9
9
|
|
|
10
10
|
//#region package.json
|
|
11
11
|
var name = "@eslint-react/eslint-plugin";
|
|
12
|
-
var version = "2.0.0-next.
|
|
12
|
+
var version = "2.0.0-next.164";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/configs/dom.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.164",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
"./package.json"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@typescript-eslint/scope-manager": "^8.
|
|
41
|
-
"@typescript-eslint/type-utils": "^8.
|
|
42
|
-
"@typescript-eslint/types": "^8.
|
|
43
|
-
"@typescript-eslint/utils": "^8.
|
|
44
|
-
"@eslint-react/eff": "2.0.0-next.
|
|
45
|
-
"@eslint-react/kit": "2.0.0-next.
|
|
46
|
-
"@eslint-react/shared": "2.0.0-next.
|
|
47
|
-
"eslint-plugin-react-debug": "2.0.0-next.
|
|
48
|
-
"eslint-plugin-react-dom": "2.0.0-next.
|
|
49
|
-
"eslint-plugin-react-hooks-extra": "2.0.0-next.
|
|
50
|
-
"eslint-plugin-react-
|
|
51
|
-
"eslint-plugin-react-
|
|
52
|
-
"eslint-plugin-react-x": "2.0.0-next.
|
|
40
|
+
"@typescript-eslint/scope-manager": "^8.42.0",
|
|
41
|
+
"@typescript-eslint/type-utils": "^8.42.0",
|
|
42
|
+
"@typescript-eslint/types": "^8.42.0",
|
|
43
|
+
"@typescript-eslint/utils": "^8.42.0",
|
|
44
|
+
"@eslint-react/eff": "2.0.0-next.164",
|
|
45
|
+
"@eslint-react/kit": "2.0.0-next.164",
|
|
46
|
+
"@eslint-react/shared": "2.0.0-next.164",
|
|
47
|
+
"eslint-plugin-react-debug": "2.0.0-next.164",
|
|
48
|
+
"eslint-plugin-react-dom": "2.0.0-next.164",
|
|
49
|
+
"eslint-plugin-react-hooks-extra": "2.0.0-next.164",
|
|
50
|
+
"eslint-plugin-react-naming-convention": "2.0.0-next.164",
|
|
51
|
+
"eslint-plugin-react-web-api": "2.0.0-next.164",
|
|
52
|
+
"eslint-plugin-react-x": "2.0.0-next.164"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"tsdown": "^0.14.2",
|