@eslint-react/eslint-plugin 1.17.2-beta.0 → 1.17.2-beta.1
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/index.js +16 -16
- package/dist/index.mjs +16 -16
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var __export = (target, all) => {
|
|
|
25
25
|
|
|
26
26
|
// package.json
|
|
27
27
|
var name = "@eslint-react/eslint-plugin";
|
|
28
|
-
var version = "1.17.2-beta.
|
|
28
|
+
var version = "1.17.2-beta.1";
|
|
29
29
|
|
|
30
30
|
// src/configs/all.ts
|
|
31
31
|
var all_exports = {};
|
|
@@ -270,6 +270,9 @@ var rules8 = {
|
|
|
270
270
|
"@eslint-react/web-api/no-leaked-resize-observer": "warn",
|
|
271
271
|
"@eslint-react/web-api/no-leaked-timeout": "warn"
|
|
272
272
|
};
|
|
273
|
+
var plugins5 = {
|
|
274
|
+
"@eslint-react/web-api": reactWebApi__default.default
|
|
275
|
+
};
|
|
273
276
|
|
|
274
277
|
// src/configs/disable-web-api.ts
|
|
275
278
|
var name9 = "@eslint-react/disable-web-api";
|
|
@@ -291,7 +294,7 @@ var rules10 = {
|
|
|
291
294
|
var recommended_exports = {};
|
|
292
295
|
__export(recommended_exports, {
|
|
293
296
|
name: () => name11,
|
|
294
|
-
plugins: () =>
|
|
297
|
+
plugins: () => plugins6,
|
|
295
298
|
rules: () => rules11,
|
|
296
299
|
settings: () => settings5
|
|
297
300
|
});
|
|
@@ -299,21 +302,18 @@ var name11 = "@eslint-react/recommended";
|
|
|
299
302
|
var rules11 = {
|
|
300
303
|
...rules,
|
|
301
304
|
...rules2,
|
|
305
|
+
...rules8,
|
|
302
306
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
|
|
303
307
|
"@eslint-react/hooks-extra/no-redundant-custom-hook": "warn",
|
|
304
|
-
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn"
|
|
305
|
-
"@eslint-react/web-api/no-leaked-event-listener": "warn",
|
|
306
|
-
"@eslint-react/web-api/no-leaked-interval": "warn",
|
|
307
|
-
"@eslint-react/web-api/no-leaked-resize-observer": "warn",
|
|
308
|
-
"@eslint-react/web-api/no-leaked-timeout": "warn"
|
|
308
|
+
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn"
|
|
309
309
|
};
|
|
310
|
-
var
|
|
310
|
+
var plugins6 = {
|
|
311
311
|
...plugins,
|
|
312
312
|
...plugins2,
|
|
313
|
+
...plugins5,
|
|
313
314
|
"@eslint-react/debug": reactDebug__default.default,
|
|
314
315
|
"@eslint-react/hooks-extra": reactHooksExtra__default.default,
|
|
315
|
-
"@eslint-react/naming-convention": reactNamingConvention__default.default
|
|
316
|
-
"@eslint-react/web-api": reactWebApi__default.default
|
|
316
|
+
"@eslint-react/naming-convention": reactNamingConvention__default.default
|
|
317
317
|
};
|
|
318
318
|
var settings5 = {
|
|
319
319
|
...settings2
|
|
@@ -323,7 +323,7 @@ var settings5 = {
|
|
|
323
323
|
var recommended_type_checked_exports = {};
|
|
324
324
|
__export(recommended_type_checked_exports, {
|
|
325
325
|
name: () => name13,
|
|
326
|
-
plugins: () =>
|
|
326
|
+
plugins: () => plugins8,
|
|
327
327
|
rules: () => rules13,
|
|
328
328
|
settings: () => settings7
|
|
329
329
|
});
|
|
@@ -332,7 +332,7 @@ __export(recommended_type_checked_exports, {
|
|
|
332
332
|
var recommended_typescript_exports = {};
|
|
333
333
|
__export(recommended_typescript_exports, {
|
|
334
334
|
name: () => name12,
|
|
335
|
-
plugins: () =>
|
|
335
|
+
plugins: () => plugins7,
|
|
336
336
|
rules: () => rules12,
|
|
337
337
|
settings: () => settings6
|
|
338
338
|
});
|
|
@@ -343,8 +343,8 @@ var rules12 = {
|
|
|
343
343
|
"@eslint-react/jsx-no-duplicate-props": "off",
|
|
344
344
|
"@eslint-react/jsx-uses-vars": "off"
|
|
345
345
|
};
|
|
346
|
-
var
|
|
347
|
-
...
|
|
346
|
+
var plugins7 = {
|
|
347
|
+
...plugins6
|
|
348
348
|
};
|
|
349
349
|
var settings6 = {
|
|
350
350
|
...settings5
|
|
@@ -357,8 +357,8 @@ var rules13 = {
|
|
|
357
357
|
"@eslint-react/no-leaked-conditional-rendering": "warn",
|
|
358
358
|
"@eslint-react/prefer-read-only-props": "warn"
|
|
359
359
|
};
|
|
360
|
-
var
|
|
361
|
-
...
|
|
360
|
+
var plugins8 = {
|
|
361
|
+
...plugins7
|
|
362
362
|
};
|
|
363
363
|
var settings7 = {
|
|
364
364
|
...settings6
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ var __export = (target, all) => {
|
|
|
14
14
|
|
|
15
15
|
// package.json
|
|
16
16
|
var name = "@eslint-react/eslint-plugin";
|
|
17
|
-
var version = "1.17.2-beta.
|
|
17
|
+
var version = "1.17.2-beta.1";
|
|
18
18
|
|
|
19
19
|
// src/configs/all.ts
|
|
20
20
|
var all_exports = {};
|
|
@@ -259,6 +259,9 @@ var rules8 = {
|
|
|
259
259
|
"@eslint-react/web-api/no-leaked-resize-observer": "warn",
|
|
260
260
|
"@eslint-react/web-api/no-leaked-timeout": "warn"
|
|
261
261
|
};
|
|
262
|
+
var plugins5 = {
|
|
263
|
+
"@eslint-react/web-api": reactWebApi
|
|
264
|
+
};
|
|
262
265
|
|
|
263
266
|
// src/configs/disable-web-api.ts
|
|
264
267
|
var name9 = "@eslint-react/disable-web-api";
|
|
@@ -280,7 +283,7 @@ var rules10 = {
|
|
|
280
283
|
var recommended_exports = {};
|
|
281
284
|
__export(recommended_exports, {
|
|
282
285
|
name: () => name11,
|
|
283
|
-
plugins: () =>
|
|
286
|
+
plugins: () => plugins6,
|
|
284
287
|
rules: () => rules11,
|
|
285
288
|
settings: () => settings5
|
|
286
289
|
});
|
|
@@ -288,21 +291,18 @@ var name11 = "@eslint-react/recommended";
|
|
|
288
291
|
var rules11 = {
|
|
289
292
|
...rules,
|
|
290
293
|
...rules2,
|
|
294
|
+
...rules8,
|
|
291
295
|
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
|
|
292
296
|
"@eslint-react/hooks-extra/no-redundant-custom-hook": "warn",
|
|
293
|
-
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn"
|
|
294
|
-
"@eslint-react/web-api/no-leaked-event-listener": "warn",
|
|
295
|
-
"@eslint-react/web-api/no-leaked-interval": "warn",
|
|
296
|
-
"@eslint-react/web-api/no-leaked-resize-observer": "warn",
|
|
297
|
-
"@eslint-react/web-api/no-leaked-timeout": "warn"
|
|
297
|
+
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn"
|
|
298
298
|
};
|
|
299
|
-
var
|
|
299
|
+
var plugins6 = {
|
|
300
300
|
...plugins,
|
|
301
301
|
...plugins2,
|
|
302
|
+
...plugins5,
|
|
302
303
|
"@eslint-react/debug": reactDebug,
|
|
303
304
|
"@eslint-react/hooks-extra": reactHooksExtra,
|
|
304
|
-
"@eslint-react/naming-convention": reactNamingConvention
|
|
305
|
-
"@eslint-react/web-api": reactWebApi
|
|
305
|
+
"@eslint-react/naming-convention": reactNamingConvention
|
|
306
306
|
};
|
|
307
307
|
var settings5 = {
|
|
308
308
|
...settings2
|
|
@@ -312,7 +312,7 @@ var settings5 = {
|
|
|
312
312
|
var recommended_type_checked_exports = {};
|
|
313
313
|
__export(recommended_type_checked_exports, {
|
|
314
314
|
name: () => name13,
|
|
315
|
-
plugins: () =>
|
|
315
|
+
plugins: () => plugins8,
|
|
316
316
|
rules: () => rules13,
|
|
317
317
|
settings: () => settings7
|
|
318
318
|
});
|
|
@@ -321,7 +321,7 @@ __export(recommended_type_checked_exports, {
|
|
|
321
321
|
var recommended_typescript_exports = {};
|
|
322
322
|
__export(recommended_typescript_exports, {
|
|
323
323
|
name: () => name12,
|
|
324
|
-
plugins: () =>
|
|
324
|
+
plugins: () => plugins7,
|
|
325
325
|
rules: () => rules12,
|
|
326
326
|
settings: () => settings6
|
|
327
327
|
});
|
|
@@ -332,8 +332,8 @@ var rules12 = {
|
|
|
332
332
|
"@eslint-react/jsx-no-duplicate-props": "off",
|
|
333
333
|
"@eslint-react/jsx-uses-vars": "off"
|
|
334
334
|
};
|
|
335
|
-
var
|
|
336
|
-
...
|
|
335
|
+
var plugins7 = {
|
|
336
|
+
...plugins6
|
|
337
337
|
};
|
|
338
338
|
var settings6 = {
|
|
339
339
|
...settings5
|
|
@@ -346,8 +346,8 @@ var rules13 = {
|
|
|
346
346
|
"@eslint-react/no-leaked-conditional-rendering": "warn",
|
|
347
347
|
"@eslint-react/prefer-read-only-props": "warn"
|
|
348
348
|
};
|
|
349
|
-
var
|
|
350
|
-
...
|
|
349
|
+
var plugins8 = {
|
|
350
|
+
...plugins7
|
|
351
351
|
};
|
|
352
352
|
var settings7 = {
|
|
353
353
|
...settings6
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.17.2-beta.
|
|
3
|
+
"version": "1.17.2-beta.1",
|
|
4
4
|
"description": "The main ESLint plugin of ESLint React. Contains all the rules and presets of ESLint React.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
"@typescript-eslint/type-utils": "^8.15.0",
|
|
48
48
|
"@typescript-eslint/types": "^8.15.0",
|
|
49
49
|
"@typescript-eslint/utils": "^8.15.0",
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/
|
|
52
|
-
"@eslint-react/types": "1.17.2-beta.
|
|
53
|
-
"eslint-plugin-react-debug": "1.17.2-beta.
|
|
54
|
-
"eslint-plugin-react-dom": "1.17.2-beta.
|
|
55
|
-
"eslint-plugin-react-naming-convention": "1.17.2-beta.
|
|
56
|
-
"eslint-plugin-react-hooks-extra": "1.17.2-beta.
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-
|
|
50
|
+
"@eslint-react/tools": "1.17.2-beta.1",
|
|
51
|
+
"@eslint-react/shared": "1.17.2-beta.1",
|
|
52
|
+
"@eslint-react/types": "1.17.2-beta.1",
|
|
53
|
+
"eslint-plugin-react-debug": "1.17.2-beta.1",
|
|
54
|
+
"eslint-plugin-react-dom": "1.17.2-beta.1",
|
|
55
|
+
"eslint-plugin-react-naming-convention": "1.17.2-beta.1",
|
|
56
|
+
"eslint-plugin-react-hooks-extra": "1.17.2-beta.1",
|
|
57
|
+
"eslint-plugin-react-x": "1.17.2-beta.1",
|
|
58
|
+
"eslint-plugin-react-web-api": "1.17.2-beta.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"tsup": "^8.3.5"
|