eslint-plugin-react-naming-convention 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 +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
package/dist/index.d.mts
CHANGED
|
@@ -10,22 +10,22 @@ declare const _default: {
|
|
|
10
10
|
readonly version: string;
|
|
11
11
|
};
|
|
12
12
|
readonly rules: {
|
|
13
|
-
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
13
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
14
14
|
allowAllCaps?: boolean;
|
|
15
15
|
allowLeadingUnderscore?: boolean;
|
|
16
16
|
allowNamespace?: boolean;
|
|
17
17
|
excepts?: readonly string[];
|
|
18
18
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
19
|
-
} |
|
|
20
|
-
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<MessageID, readonly [{
|
|
19
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
20
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<MessageID, readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
21
21
|
excepts?: readonly string[];
|
|
22
22
|
extensions?: readonly string[];
|
|
23
23
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
24
|
-
} |
|
|
25
|
-
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<MessageID$1, readonly [{
|
|
24
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
25
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<MessageID$1, readonly [("always" | "as-needed") | {
|
|
26
26
|
allow?: "always" | "as-needed";
|
|
27
27
|
extensions?: readonly string[];
|
|
28
|
-
} |
|
|
28
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
29
29
|
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
30
30
|
};
|
|
31
31
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -10,22 +10,22 @@ declare const _default: {
|
|
|
10
10
|
readonly version: string;
|
|
11
11
|
};
|
|
12
12
|
readonly rules: {
|
|
13
|
-
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [{
|
|
13
|
+
readonly "component-name": _typescript_eslint_utils_ts_eslint.RuleModule<"componentName", readonly [("CONSTANT_CASE" | "PascalCase") | {
|
|
14
14
|
allowAllCaps?: boolean;
|
|
15
15
|
allowLeadingUnderscore?: boolean;
|
|
16
16
|
allowNamespace?: boolean;
|
|
17
17
|
excepts?: readonly string[];
|
|
18
18
|
rule?: "CONSTANT_CASE" | "PascalCase";
|
|
19
|
-
} |
|
|
20
|
-
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<MessageID, readonly [{
|
|
19
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
20
|
+
readonly filename: _typescript_eslint_utils_ts_eslint.RuleModule<MessageID, readonly [("PascalCase" | "camelCase" | "kebab-case" | "snake_case") | {
|
|
21
21
|
excepts?: readonly string[];
|
|
22
22
|
extensions?: readonly string[];
|
|
23
23
|
rule?: "PascalCase" | "camelCase" | "kebab-case" | "snake_case";
|
|
24
|
-
} |
|
|
25
|
-
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<MessageID$1, readonly [{
|
|
24
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
25
|
+
readonly "filename-extension": _typescript_eslint_utils_ts_eslint.RuleModule<MessageID$1, readonly [("always" | "as-needed") | {
|
|
26
26
|
allow?: "always" | "as-needed";
|
|
27
27
|
extensions?: readonly string[];
|
|
28
|
-
} |
|
|
28
|
+
} | undefined], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
29
29
|
readonly "use-state": _typescript_eslint_utils_ts_eslint.RuleModule<"useState", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
30
30
|
};
|
|
31
31
|
};
|
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ var path__default = /*#__PURE__*/_interopDefault(path);
|
|
|
35
35
|
|
|
36
36
|
// package.json
|
|
37
37
|
var name = "eslint-plugin-react-naming-convention";
|
|
38
|
-
var version = "1.16.2-next.
|
|
38
|
+
var version = "1.16.2-next.9";
|
|
39
39
|
var createRule = shared.createRuleForPlugin("naming-convention");
|
|
40
40
|
|
|
41
41
|
// src/rules/component-name.ts
|
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { AST_NODE_TYPES } from '@typescript-eslint/types';
|
|
|
9
9
|
|
|
10
10
|
// package.json
|
|
11
11
|
var name = "eslint-plugin-react-naming-convention";
|
|
12
|
-
var version = "1.16.2-next.
|
|
12
|
+
var version = "1.16.2-next.9";
|
|
13
13
|
var createRule = createRuleForPlugin("naming-convention");
|
|
14
14
|
|
|
15
15
|
// src/rules/component-name.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-naming-convention",
|
|
3
|
-
"version": "1.16.2-next.
|
|
3
|
+
"version": "1.16.2-next.9",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for naming convention related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"@typescript-eslint/types": "^8.15.0",
|
|
47
47
|
"@typescript-eslint/utils": "^8.15.0",
|
|
48
48
|
"ts-pattern": "^5.5.0",
|
|
49
|
-
"@eslint-react/ast": "1.16.2-next.
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/
|
|
52
|
-
"@eslint-react/tools": "1.16.2-next.
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/
|
|
49
|
+
"@eslint-react/ast": "1.16.2-next.9",
|
|
50
|
+
"@eslint-react/core": "1.16.2-next.9",
|
|
51
|
+
"@eslint-react/jsx": "1.16.2-next.9",
|
|
52
|
+
"@eslint-react/tools": "1.16.2-next.9",
|
|
53
|
+
"@eslint-react/types": "1.16.2-next.9",
|
|
54
|
+
"@eslint-react/shared": "1.16.2-next.9"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/react": "^18.3.12",
|