@eslint-react/eslint-plugin 1.28.1-beta.5 → 1.28.1-beta.7
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.mts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -74,6 +74,7 @@ declare const rules$b: {
|
|
|
74
74
|
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
75
75
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
76
76
|
readonly "@eslint-react/naming-convention/component-name": "warn";
|
|
77
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
77
78
|
readonly "@eslint-react/naming-convention/filename": "warn";
|
|
78
79
|
readonly "@eslint-react/naming-convention/filename-extension": "warn";
|
|
79
80
|
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
@@ -182,6 +183,7 @@ declare const plugins$6: {
|
|
|
182
183
|
excepts?: readonly string[];
|
|
183
184
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
184
185
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
186
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
185
187
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
186
188
|
excepts?: readonly string[];
|
|
187
189
|
extensions?: readonly string[];
|
|
@@ -216,6 +218,7 @@ declare const plugins$6: {
|
|
|
216
218
|
excepts?: readonly string[];
|
|
217
219
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
218
220
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
221
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
219
222
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
220
223
|
excepts?: readonly string[];
|
|
221
224
|
extensions?: readonly string[];
|
|
@@ -1364,6 +1367,7 @@ declare const plugins$2: {
|
|
|
1364
1367
|
excepts?: readonly string[];
|
|
1365
1368
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1366
1369
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1370
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1367
1371
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
1368
1372
|
excepts?: readonly string[];
|
|
1369
1373
|
extensions?: readonly string[];
|
|
@@ -1398,6 +1402,7 @@ declare const plugins$2: {
|
|
|
1398
1402
|
excepts?: readonly string[];
|
|
1399
1403
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1400
1404
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1405
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1401
1406
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
1402
1407
|
excepts?: readonly string[];
|
|
1403
1408
|
extensions?: readonly string[];
|
|
@@ -1992,6 +1997,7 @@ declare const plugins$1: {
|
|
|
1992
1997
|
excepts?: readonly string[];
|
|
1993
1998
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1994
1999
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2000
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1995
2001
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
1996
2002
|
excepts?: readonly string[];
|
|
1997
2003
|
extensions?: readonly string[];
|
|
@@ -2026,6 +2032,7 @@ declare const plugins$1: {
|
|
|
2026
2032
|
excepts?: readonly string[];
|
|
2027
2033
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2028
2034
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2035
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2029
2036
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2030
2037
|
excepts?: readonly string[];
|
|
2031
2038
|
extensions?: readonly string[];
|
|
@@ -2619,6 +2626,7 @@ declare const plugins: {
|
|
|
2619
2626
|
excepts?: readonly string[];
|
|
2620
2627
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2621
2628
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2629
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2622
2630
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2623
2631
|
excepts?: readonly string[];
|
|
2624
2632
|
extensions?: readonly string[];
|
|
@@ -2653,6 +2661,7 @@ declare const plugins: {
|
|
|
2653
2661
|
excepts?: readonly string[];
|
|
2654
2662
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2655
2663
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2664
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2656
2665
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2657
2666
|
excepts?: readonly string[];
|
|
2658
2667
|
extensions?: readonly string[];
|
|
@@ -3173,6 +3182,7 @@ declare const _default: {
|
|
|
3173
3182
|
excepts?: readonly string[];
|
|
3174
3183
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
3175
3184
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3185
|
+
readonly "naming-convention/context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3176
3186
|
readonly "naming-convention/filename": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly ["PascalCase" | "camelCase" | "kebab-case" | "snake_case" | {
|
|
3177
3187
|
excepts?: readonly string[];
|
|
3178
3188
|
extensions?: readonly string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ declare const rules$b: {
|
|
|
74
74
|
readonly "@eslint-react/hooks-extra/no-useless-custom-hooks": "warn";
|
|
75
75
|
readonly "@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn";
|
|
76
76
|
readonly "@eslint-react/naming-convention/component-name": "warn";
|
|
77
|
+
readonly "@eslint-react/naming-convention/context-name": "warn";
|
|
77
78
|
readonly "@eslint-react/naming-convention/filename": "warn";
|
|
78
79
|
readonly "@eslint-react/naming-convention/filename-extension": "warn";
|
|
79
80
|
readonly "@eslint-react/naming-convention/use-state": "warn";
|
|
@@ -182,6 +183,7 @@ declare const plugins$6: {
|
|
|
182
183
|
excepts?: readonly string[];
|
|
183
184
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
184
185
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
186
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
185
187
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
186
188
|
excepts?: readonly string[];
|
|
187
189
|
extensions?: readonly string[];
|
|
@@ -216,6 +218,7 @@ declare const plugins$6: {
|
|
|
216
218
|
excepts?: readonly string[];
|
|
217
219
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
218
220
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
221
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
219
222
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
220
223
|
excepts?: readonly string[];
|
|
221
224
|
extensions?: readonly string[];
|
|
@@ -1364,6 +1367,7 @@ declare const plugins$2: {
|
|
|
1364
1367
|
excepts?: readonly string[];
|
|
1365
1368
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1366
1369
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1370
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1367
1371
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
1368
1372
|
excepts?: readonly string[];
|
|
1369
1373
|
extensions?: readonly string[];
|
|
@@ -1398,6 +1402,7 @@ declare const plugins$2: {
|
|
|
1398
1402
|
excepts?: readonly string[];
|
|
1399
1403
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1400
1404
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1405
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1401
1406
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
1402
1407
|
excepts?: readonly string[];
|
|
1403
1408
|
extensions?: readonly string[];
|
|
@@ -1992,6 +1997,7 @@ declare const plugins$1: {
|
|
|
1992
1997
|
excepts?: readonly string[];
|
|
1993
1998
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1994
1999
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2000
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1995
2001
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
1996
2002
|
excepts?: readonly string[];
|
|
1997
2003
|
extensions?: readonly string[];
|
|
@@ -2026,6 +2032,7 @@ declare const plugins$1: {
|
|
|
2026
2032
|
excepts?: readonly string[];
|
|
2027
2033
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2028
2034
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2035
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2029
2036
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2030
2037
|
excepts?: readonly string[];
|
|
2031
2038
|
extensions?: readonly string[];
|
|
@@ -2619,6 +2626,7 @@ declare const plugins: {
|
|
|
2619
2626
|
excepts?: readonly string[];
|
|
2620
2627
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2621
2628
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2629
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2622
2630
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2623
2631
|
excepts?: readonly string[];
|
|
2624
2632
|
extensions?: readonly string[];
|
|
@@ -2653,6 +2661,7 @@ declare const plugins: {
|
|
|
2653
2661
|
excepts?: readonly string[];
|
|
2654
2662
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
2655
2663
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2664
|
+
readonly "context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
2656
2665
|
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
2657
2666
|
excepts?: readonly string[];
|
|
2658
2667
|
extensions?: readonly string[];
|
|
@@ -3173,6 +3182,7 @@ declare const _default: {
|
|
|
3173
3182
|
excepts?: readonly string[];
|
|
3174
3183
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
3175
3184
|
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3185
|
+
readonly "naming-convention/context-name": _typescript_eslint_utils_ts_eslint.RuleModule<"contextName", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
3176
3186
|
readonly "naming-convention/filename": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatch" | "filenameEmpty", readonly ["PascalCase" | "camelCase" | "kebab-case" | "snake_case" | {
|
|
3177
3187
|
excepts?: readonly string[];
|
|
3178
3188
|
extensions?: readonly string[];
|
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.28.1-beta.
|
|
28
|
+
var version = "1.28.1-beta.7";
|
|
29
29
|
|
|
30
30
|
// src/configs/all.ts
|
|
31
31
|
var all_exports = {};
|
|
@@ -198,6 +198,7 @@ var rules3 = {
|
|
|
198
198
|
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn",
|
|
199
199
|
// Part: Naming Convention
|
|
200
200
|
"@eslint-react/naming-convention/component-name": "warn",
|
|
201
|
+
"@eslint-react/naming-convention/context-name": "warn",
|
|
201
202
|
"@eslint-react/naming-convention/filename": "warn",
|
|
202
203
|
"@eslint-react/naming-convention/filename-extension": "warn",
|
|
203
204
|
"@eslint-react/naming-convention/use-state": "warn"
|
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.28.1-beta.
|
|
17
|
+
var version = "1.28.1-beta.7";
|
|
18
18
|
|
|
19
19
|
// src/configs/all.ts
|
|
20
20
|
var all_exports = {};
|
|
@@ -187,6 +187,7 @@ var rules3 = {
|
|
|
187
187
|
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn",
|
|
188
188
|
// Part: Naming Convention
|
|
189
189
|
"@eslint-react/naming-convention/component-name": "warn",
|
|
190
|
+
"@eslint-react/naming-convention/context-name": "warn",
|
|
190
191
|
"@eslint-react/naming-convention/filename": "warn",
|
|
191
192
|
"@eslint-react/naming-convention/filename-extension": "warn",
|
|
192
193
|
"@eslint-react/naming-convention/use-state": "warn"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.28.1-beta.
|
|
3
|
+
"version": "1.28.1-beta.7",
|
|
4
4
|
"description": "More than 80 high-quality linting rules for writing better React code.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"@typescript-eslint/type-utils": "^8.25.0",
|
|
51
51
|
"@typescript-eslint/types": "^8.25.0",
|
|
52
52
|
"@typescript-eslint/utils": "^8.25.0",
|
|
53
|
-
"@eslint-react/eff": "1.28.1-beta.
|
|
54
|
-
"@eslint-react/shared": "1.28.1-beta.
|
|
55
|
-
"eslint-plugin-react-dom": "1.28.1-beta.
|
|
56
|
-
"eslint-plugin-react-debug": "1.28.1-beta.
|
|
57
|
-
"eslint-plugin-react-hooks-extra": "1.28.1-beta.
|
|
58
|
-
"eslint-plugin-react-naming-convention": "1.28.1-beta.
|
|
59
|
-
"eslint-plugin-react-web-api": "1.28.1-beta.
|
|
60
|
-
"eslint-plugin-react-x": "1.28.1-beta.
|
|
53
|
+
"@eslint-react/eff": "1.28.1-beta.7",
|
|
54
|
+
"@eslint-react/shared": "1.28.1-beta.7",
|
|
55
|
+
"eslint-plugin-react-dom": "1.28.1-beta.7",
|
|
56
|
+
"eslint-plugin-react-debug": "1.28.1-beta.7",
|
|
57
|
+
"eslint-plugin-react-hooks-extra": "1.28.1-beta.7",
|
|
58
|
+
"eslint-plugin-react-naming-convention": "1.28.1-beta.7",
|
|
59
|
+
"eslint-plugin-react-web-api": "1.28.1-beta.7",
|
|
60
|
+
"eslint-plugin-react-x": "1.28.1-beta.7"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"tsup": "^8.4.0",
|