eslint-plugin-react-naming-convention 5.24.4 → 5.24.6
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 +4 -7
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -20,7 +20,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region package.json
|
|
22
22
|
var name$1 = "eslint-plugin-react-naming-convention";
|
|
23
|
-
var version = "5.24.
|
|
23
|
+
var version = "5.24.6";
|
|
24
24
|
//#endregion
|
|
25
25
|
//#region src/utils/create-rule.ts
|
|
26
26
|
function getDocsUrl(ruleName) {
|
|
@@ -35,8 +35,7 @@ var context_name_default = createRule({
|
|
|
35
35
|
schema: []
|
|
36
36
|
},
|
|
37
37
|
name: "context-name",
|
|
38
|
-
create: create$2
|
|
39
|
-
defaultOptions: []
|
|
38
|
+
create: create$2
|
|
40
39
|
});
|
|
41
40
|
function create$2(context) {
|
|
42
41
|
if (!context.sourceCode.text.includes("createContext")) return {};
|
|
@@ -65,8 +64,7 @@ var id_name_default = createRule({
|
|
|
65
64
|
schema: []
|
|
66
65
|
},
|
|
67
66
|
name: "id-name",
|
|
68
|
-
create: create$1
|
|
69
|
-
defaultOptions: []
|
|
67
|
+
create: create$1
|
|
70
68
|
});
|
|
71
69
|
function create$1(context) {
|
|
72
70
|
if (!context.sourceCode.text.includes("useId")) return {};
|
|
@@ -95,8 +93,7 @@ var ref_name_default = createRule({
|
|
|
95
93
|
schema: []
|
|
96
94
|
},
|
|
97
95
|
name: "ref-name",
|
|
98
|
-
create
|
|
99
|
-
defaultOptions: []
|
|
96
|
+
create
|
|
100
97
|
});
|
|
101
98
|
function create(context) {
|
|
102
99
|
const { additionalRefHooks } = getSettingsFromContext(context);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-naming-convention",
|
|
3
|
-
"version": "5.24.
|
|
3
|
+
"version": "5.24.6",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for naming convention related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@eslint-react/ast": "5.24.
|
|
41
|
-
"@eslint-react/core": "5.24.
|
|
42
|
-
"@eslint-react/eslint": "5.24.
|
|
43
|
-
"@eslint-react/shared": "5.24.
|
|
44
|
-
"@eslint-react/var": "5.24.
|
|
40
|
+
"@eslint-react/ast": "5.24.6",
|
|
41
|
+
"@eslint-react/core": "5.24.6",
|
|
42
|
+
"@eslint-react/eslint": "5.24.6",
|
|
43
|
+
"@eslint-react/shared": "5.24.6",
|
|
44
|
+
"@eslint-react/var": "5.24.6",
|
|
45
45
|
"@typescript-eslint/types": "^8.71.0",
|
|
46
46
|
"@typescript-eslint/utils": "^8.71.0",
|
|
47
47
|
"ts-pattern": "^5.9.0"
|