@eslint-react/eslint-plugin 1.16.2-next.8 → 1.16.2-next.9
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 +30 -30
- package/dist/index.d.ts +30 -30
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -110,22 +110,22 @@ declare const plugins$6: {
|
|
|
110
110
|
readonly version: string;
|
|
111
111
|
};
|
|
112
112
|
readonly rules: {
|
|
113
|
-
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
113
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
114
114
|
allowAllCaps?: boolean;
|
|
115
115
|
allowLeadingUnderscore?: boolean;
|
|
116
116
|
allowNamespace?: boolean;
|
|
117
117
|
excepts?: readonly string[];
|
|
118
118
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
119
|
-
} |
|
|
120
|
-
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [{
|
|
119
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
120
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
121
121
|
excepts?: readonly string[];
|
|
122
122
|
extensions?: readonly string[];
|
|
123
123
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
124
|
-
} |
|
|
125
|
-
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
124
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
125
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [("always" | "as-needed") | {
|
|
126
126
|
allow?: "always" | "as-needed";
|
|
127
127
|
extensions?: readonly string[];
|
|
128
|
-
} |
|
|
128
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
129
129
|
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
130
130
|
};
|
|
131
131
|
};
|
|
@@ -691,22 +691,22 @@ declare const plugins$2: {
|
|
|
691
691
|
readonly version: string;
|
|
692
692
|
};
|
|
693
693
|
readonly rules: {
|
|
694
|
-
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
694
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
695
695
|
allowAllCaps?: boolean;
|
|
696
696
|
allowLeadingUnderscore?: boolean;
|
|
697
697
|
allowNamespace?: boolean;
|
|
698
698
|
excepts?: readonly string[];
|
|
699
699
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
700
|
-
} |
|
|
701
|
-
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [{
|
|
700
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
701
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
702
702
|
excepts?: readonly string[];
|
|
703
703
|
extensions?: readonly string[];
|
|
704
704
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
705
|
-
} |
|
|
706
|
-
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
705
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
706
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [("always" | "as-needed") | {
|
|
707
707
|
allow?: "always" | "as-needed";
|
|
708
708
|
extensions?: readonly string[];
|
|
709
|
-
} |
|
|
709
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
710
710
|
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
711
711
|
};
|
|
712
712
|
};
|
|
@@ -932,22 +932,22 @@ declare const plugins$1: {
|
|
|
932
932
|
readonly version: string;
|
|
933
933
|
};
|
|
934
934
|
readonly rules: {
|
|
935
|
-
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
935
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
936
936
|
allowAllCaps?: boolean;
|
|
937
937
|
allowLeadingUnderscore?: boolean;
|
|
938
938
|
allowNamespace?: boolean;
|
|
939
939
|
excepts?: readonly string[];
|
|
940
940
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
941
|
-
} |
|
|
942
|
-
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [{
|
|
941
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
942
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
943
943
|
excepts?: readonly string[];
|
|
944
944
|
extensions?: readonly string[];
|
|
945
945
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
946
|
-
} |
|
|
947
|
-
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
946
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
947
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [("always" | "as-needed") | {
|
|
948
948
|
allow?: "always" | "as-needed";
|
|
949
949
|
extensions?: readonly string[];
|
|
950
|
-
} |
|
|
950
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
951
951
|
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
952
952
|
};
|
|
953
953
|
};
|
|
@@ -1171,22 +1171,22 @@ declare const plugins: {
|
|
|
1171
1171
|
readonly version: string;
|
|
1172
1172
|
};
|
|
1173
1173
|
readonly rules: {
|
|
1174
|
-
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
1174
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
1175
1175
|
allowAllCaps?: boolean;
|
|
1176
1176
|
allowLeadingUnderscore?: boolean;
|
|
1177
1177
|
allowNamespace?: boolean;
|
|
1178
1178
|
excepts?: readonly string[];
|
|
1179
1179
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1180
|
-
} |
|
|
1181
|
-
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [{
|
|
1180
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1181
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
1182
1182
|
excepts?: readonly string[];
|
|
1183
1183
|
extensions?: readonly string[];
|
|
1184
1184
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
1185
|
-
} |
|
|
1186
|
-
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
1185
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1186
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [("always" | "as-needed") | {
|
|
1187
1187
|
allow?: "always" | "as-needed";
|
|
1188
1188
|
extensions?: readonly string[];
|
|
1189
|
-
} |
|
|
1189
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1190
1190
|
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1191
1191
|
};
|
|
1192
1192
|
};
|
|
@@ -1402,22 +1402,22 @@ declare const _default: {
|
|
|
1402
1402
|
readonly "debug/hook": _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1403
1403
|
readonly "debug/is-from-react": _typescript_eslint_utils_ts_eslint.RuleModule<"isFromReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1404
1404
|
readonly "debug/react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1405
|
-
readonly "naming-convention/component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
1405
|
+
readonly "naming-convention/component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly ["CONSTANT_CASE" | "PascalCase" | {
|
|
1406
1406
|
allowAllCaps?: boolean;
|
|
1407
1407
|
allowLeadingUnderscore?: boolean;
|
|
1408
1408
|
allowNamespace?: boolean;
|
|
1409
1409
|
excepts?: readonly string[];
|
|
1410
1410
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1411
|
-
} |
|
|
1412
|
-
readonly "naming-convention/filename": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly ["PascalCase" | {
|
|
1411
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1412
|
+
readonly "naming-convention/filename": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly ["PascalCase" | "camelCase" | "kebab-case" | "snake_case" | {
|
|
1413
1413
|
excepts?: readonly string[];
|
|
1414
1414
|
extensions?: readonly string[];
|
|
1415
1415
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
1416
|
-
} |
|
|
1417
|
-
readonly "naming-convention/filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
1416
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1417
|
+
readonly "naming-convention/filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly ["always" | "as-needed" | {
|
|
1418
1418
|
allow?: "always" | "as-needed";
|
|
1419
1419
|
extensions?: readonly string[];
|
|
1420
|
-
} |
|
|
1420
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1421
1421
|
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1422
1422
|
readonly "hooks-extra/no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1423
1423
|
readonly "hooks-extra/no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.d.ts
CHANGED
|
@@ -110,22 +110,22 @@ declare const plugins$6: {
|
|
|
110
110
|
readonly version: string;
|
|
111
111
|
};
|
|
112
112
|
readonly rules: {
|
|
113
|
-
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
113
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
114
114
|
allowAllCaps?: boolean;
|
|
115
115
|
allowLeadingUnderscore?: boolean;
|
|
116
116
|
allowNamespace?: boolean;
|
|
117
117
|
excepts?: readonly string[];
|
|
118
118
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
119
|
-
} |
|
|
120
|
-
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [{
|
|
119
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
120
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
121
121
|
excepts?: readonly string[];
|
|
122
122
|
extensions?: readonly string[];
|
|
123
123
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
124
|
-
} |
|
|
125
|
-
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
124
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
125
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [("always" | "as-needed") | {
|
|
126
126
|
allow?: "always" | "as-needed";
|
|
127
127
|
extensions?: readonly string[];
|
|
128
|
-
} |
|
|
128
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
129
129
|
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
130
130
|
};
|
|
131
131
|
};
|
|
@@ -691,22 +691,22 @@ declare const plugins$2: {
|
|
|
691
691
|
readonly version: string;
|
|
692
692
|
};
|
|
693
693
|
readonly rules: {
|
|
694
|
-
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
694
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
695
695
|
allowAllCaps?: boolean;
|
|
696
696
|
allowLeadingUnderscore?: boolean;
|
|
697
697
|
allowNamespace?: boolean;
|
|
698
698
|
excepts?: readonly string[];
|
|
699
699
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
700
|
-
} |
|
|
701
|
-
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [{
|
|
700
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
701
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
702
702
|
excepts?: readonly string[];
|
|
703
703
|
extensions?: readonly string[];
|
|
704
704
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
705
|
-
} |
|
|
706
|
-
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
705
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
706
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [("always" | "as-needed") | {
|
|
707
707
|
allow?: "always" | "as-needed";
|
|
708
708
|
extensions?: readonly string[];
|
|
709
|
-
} |
|
|
709
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
710
710
|
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
711
711
|
};
|
|
712
712
|
};
|
|
@@ -932,22 +932,22 @@ declare const plugins$1: {
|
|
|
932
932
|
readonly version: string;
|
|
933
933
|
};
|
|
934
934
|
readonly rules: {
|
|
935
|
-
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
935
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
936
936
|
allowAllCaps?: boolean;
|
|
937
937
|
allowLeadingUnderscore?: boolean;
|
|
938
938
|
allowNamespace?: boolean;
|
|
939
939
|
excepts?: readonly string[];
|
|
940
940
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
941
|
-
} |
|
|
942
|
-
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [{
|
|
941
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
942
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
943
943
|
excepts?: readonly string[];
|
|
944
944
|
extensions?: readonly string[];
|
|
945
945
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
946
|
-
} |
|
|
947
|
-
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
946
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
947
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [("always" | "as-needed") | {
|
|
948
948
|
allow?: "always" | "as-needed";
|
|
949
949
|
extensions?: readonly string[];
|
|
950
|
-
} |
|
|
950
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
951
951
|
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
952
952
|
};
|
|
953
953
|
};
|
|
@@ -1171,22 +1171,22 @@ declare const plugins: {
|
|
|
1171
1171
|
readonly version: string;
|
|
1172
1172
|
};
|
|
1173
1173
|
readonly rules: {
|
|
1174
|
-
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
1174
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
1175
1175
|
allowAllCaps?: boolean;
|
|
1176
1176
|
allowLeadingUnderscore?: boolean;
|
|
1177
1177
|
allowNamespace?: boolean;
|
|
1178
1178
|
excepts?: readonly string[];
|
|
1179
1179
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1180
|
-
} |
|
|
1181
|
-
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [{
|
|
1180
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1181
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
1182
1182
|
excepts?: readonly string[];
|
|
1183
1183
|
extensions?: readonly string[];
|
|
1184
1184
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
1185
|
-
} |
|
|
1186
|
-
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
1185
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1186
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [("always" | "as-needed") | {
|
|
1187
1187
|
allow?: "always" | "as-needed";
|
|
1188
1188
|
extensions?: readonly string[];
|
|
1189
|
-
} |
|
|
1189
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1190
1190
|
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1191
1191
|
};
|
|
1192
1192
|
};
|
|
@@ -1402,22 +1402,22 @@ declare const _default: {
|
|
|
1402
1402
|
readonly "debug/hook": _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1403
1403
|
readonly "debug/is-from-react": _typescript_eslint_utils_ts_eslint.RuleModule<"isFromReact", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1404
1404
|
readonly "debug/react-hooks": _typescript_eslint_utils_ts_eslint.RuleModule<"hook", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1405
|
-
readonly "naming-convention/component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
1405
|
+
readonly "naming-convention/component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly ["CONSTANT_CASE" | "PascalCase" | {
|
|
1406
1406
|
allowAllCaps?: boolean;
|
|
1407
1407
|
allowLeadingUnderscore?: boolean;
|
|
1408
1408
|
allowNamespace?: boolean;
|
|
1409
1409
|
excepts?: readonly string[];
|
|
1410
1410
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
1411
|
-
} |
|
|
1412
|
-
readonly "naming-convention/filename": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly ["PascalCase" | {
|
|
1411
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1412
|
+
readonly "naming-convention/filename": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameCaseMismatchSuggestion" | "filenameEmpty", readonly ["PascalCase" | "camelCase" | "kebab-case" | "snake_case" | {
|
|
1413
1413
|
excepts?: readonly string[];
|
|
1414
1414
|
extensions?: readonly string[];
|
|
1415
1415
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
1416
|
-
} |
|
|
1417
|
-
readonly "naming-convention/filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly [{
|
|
1416
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1417
|
+
readonly "naming-convention/filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<"filenameExtensionInvalid" | "filenameExtensionUnexpected", readonly ["always" | "as-needed" | {
|
|
1418
1418
|
allow?: "always" | "as-needed";
|
|
1419
1419
|
extensions?: readonly string[];
|
|
1420
|
-
} |
|
|
1420
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1421
1421
|
readonly "naming-convention/use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1422
1422
|
readonly "hooks-extra/no-direct-set-state-in-use-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
1423
1423
|
readonly "hooks-extra/no-direct-set-state-in-use-layout-effect": _typescript_eslint_utils_ts_eslint.RuleModule<"noDirectSetStateInUseLayoutEffect", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/eslint-plugin",
|
|
3
|
-
"version": "1.16.2-next.
|
|
3
|
+
"version": "1.16.2-next.9",
|
|
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/shared": "1.16.2-next.
|
|
51
|
-
"@eslint-react/tools": "1.16.2-next.
|
|
52
|
-
"@eslint-react/types": "1.16.2-next.
|
|
53
|
-
"eslint-plugin-react-
|
|
54
|
-
"eslint-plugin-react-
|
|
55
|
-
"eslint-plugin-react-
|
|
56
|
-
"eslint-plugin-react-
|
|
57
|
-
"eslint-plugin-react-
|
|
58
|
-
"eslint-plugin-react-x": "1.16.2-next.
|
|
50
|
+
"@eslint-react/shared": "1.16.2-next.9",
|
|
51
|
+
"@eslint-react/tools": "1.16.2-next.9",
|
|
52
|
+
"@eslint-react/types": "1.16.2-next.9",
|
|
53
|
+
"eslint-plugin-react-debug": "1.16.2-next.9",
|
|
54
|
+
"eslint-plugin-react-dom": "1.16.2-next.9",
|
|
55
|
+
"eslint-plugin-react-hooks-extra": "1.16.2-next.9",
|
|
56
|
+
"eslint-plugin-react-naming-convention": "1.16.2-next.9",
|
|
57
|
+
"eslint-plugin-react-web-api": "1.16.2-next.9",
|
|
58
|
+
"eslint-plugin-react-x": "1.16.2-next.9"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"tsup": "^8.3.5"
|