@eslint-react/eslint-plugin 2.0.0-next.153 → 2.0.0-next.154
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.d.ts +227 -2679
- package/dist/index.js +14 -11
- package/package.json +11 -11
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.154";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/configs/dom.ts
|
|
@@ -460,11 +460,22 @@ function toLegacyConfig({ rules: rules$14 }) {
|
|
|
460
460
|
rules: rules$14
|
|
461
461
|
};
|
|
462
462
|
}
|
|
463
|
-
|
|
463
|
+
const plugin = {
|
|
464
464
|
meta: {
|
|
465
465
|
name,
|
|
466
466
|
version
|
|
467
467
|
},
|
|
468
|
+
rules: {
|
|
469
|
+
...react.rules,
|
|
470
|
+
...padKeysLeft(reactDom.rules, "dom/"),
|
|
471
|
+
...padKeysLeft(reactWebApi.rules, "web-api/"),
|
|
472
|
+
...padKeysLeft(reactHooksExtra, "hooks-extra/"),
|
|
473
|
+
...padKeysLeft(reactNamingConvention.rules, "naming-convention/"),
|
|
474
|
+
...padKeysLeft(reactDebug.rules, "debug/")
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
var src_default = {
|
|
478
|
+
...plugin,
|
|
468
479
|
configs: {
|
|
469
480
|
["all"]: all_exports,
|
|
470
481
|
["all-legacy"]: toLegacyConfig(all_exports),
|
|
@@ -492,16 +503,8 @@ var src_default = {
|
|
|
492
503
|
["recommended-typescript-legacy"]: toLegacyConfig(recommended_typescript_exports),
|
|
493
504
|
["x"]: x_exports,
|
|
494
505
|
["x-legacy"]: toLegacyConfig(x_exports)
|
|
495
|
-
},
|
|
496
|
-
rules: {
|
|
497
|
-
...react.rules,
|
|
498
|
-
...padKeysLeft(reactDom.rules, "dom/"),
|
|
499
|
-
...padKeysLeft(reactWebApi.rules, "web-api/"),
|
|
500
|
-
...padKeysLeft(reactHooksExtra, "hooks-extra/"),
|
|
501
|
-
...padKeysLeft(reactNamingConvention.rules, "naming-convention/"),
|
|
502
|
-
...padKeysLeft(reactDebug.rules, "debug/")
|
|
503
506
|
}
|
|
504
507
|
};
|
|
505
508
|
|
|
506
509
|
//#endregion
|
|
507
|
-
export { src_default as default };
|
|
510
|
+
export { src_default as default, plugin };
|
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.154",
|
|
4
4
|
"description": "A unified plugin that combines all individual plugins from the eslint-react monorepo into one.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"@typescript-eslint/type-utils": "^8.41.0",
|
|
42
42
|
"@typescript-eslint/types": "^8.41.0",
|
|
43
43
|
"@typescript-eslint/utils": "^8.41.0",
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"eslint-
|
|
47
|
-
"eslint-plugin-react-
|
|
48
|
-
"eslint-plugin-react-
|
|
49
|
-
"eslint-plugin-react-
|
|
50
|
-
"eslint-plugin-react-naming-convention": "2.0.0-next.
|
|
51
|
-
"eslint-plugin-react-x": "2.0.0-next.
|
|
52
|
-
"
|
|
44
|
+
"@eslint-react/eff": "2.0.0-next.154",
|
|
45
|
+
"@eslint-react/kit": "2.0.0-next.154",
|
|
46
|
+
"@eslint-react/shared": "2.0.0-next.154",
|
|
47
|
+
"eslint-plugin-react-debug": "2.0.0-next.154",
|
|
48
|
+
"eslint-plugin-react-dom": "2.0.0-next.154",
|
|
49
|
+
"eslint-plugin-react-hooks-extra": "2.0.0-next.154",
|
|
50
|
+
"eslint-plugin-react-naming-convention": "2.0.0-next.154",
|
|
51
|
+
"eslint-plugin-react-x": "2.0.0-next.154",
|
|
52
|
+
"eslint-plugin-react-web-api": "2.0.0-next.154"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"tsdown": "^0.14.2",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
|
-
"build": "tsdown
|
|
77
|
+
"build": "tsdown",
|
|
78
78
|
"lint:publish": "pnpm publint",
|
|
79
79
|
"lint:ts": "tsc --noEmit"
|
|
80
80
|
}
|