eslint-plugin-react-naming-convention 2.5.0 → 2.5.1-beta.0
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 +2 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -40,7 +40,7 @@ const rules = {
|
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region package.json
|
|
42
42
|
var name = "eslint-plugin-react-naming-convention";
|
|
43
|
-
var version = "2.5.0";
|
|
43
|
+
var version = "2.5.1-beta.0";
|
|
44
44
|
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/utils/create-rule.ts
|
|
@@ -372,7 +372,7 @@ const RULE_NAME$1 = "ref-name";
|
|
|
372
372
|
var ref_name_default = createRule({
|
|
373
373
|
meta: {
|
|
374
374
|
type: "suggestion",
|
|
375
|
-
docs: { description: "Enforces that variables assigned from useRef calls have names ending with 'Ref'." },
|
|
375
|
+
docs: { description: "Enforces that variables assigned from 'useRef' calls have names ending with 'Ref'." },
|
|
376
376
|
messages: { invalidRefName: "Ref variables should have names ending with 'Ref', e.g., 'inputRef'." },
|
|
377
377
|
schema: []
|
|
378
378
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-naming-convention",
|
|
3
|
-
"version": "2.5.0",
|
|
3
|
+
"version": "2.5.1-beta.0",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for naming convention related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@typescript-eslint/utils": "^8.51.0",
|
|
45
45
|
"string-ts": "^2.3.1",
|
|
46
46
|
"ts-pattern": "^5.9.0",
|
|
47
|
-
"@eslint-react/ast": "2.5.0",
|
|
48
|
-
"@eslint-react/
|
|
49
|
-
"@eslint-react/
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/var": "2.5.0"
|
|
47
|
+
"@eslint-react/ast": "2.5.1-beta.0",
|
|
48
|
+
"@eslint-react/shared": "2.5.1-beta.0",
|
|
49
|
+
"@eslint-react/core": "2.5.1-beta.0",
|
|
50
|
+
"@eslint-react/eff": "2.5.1-beta.0",
|
|
51
|
+
"@eslint-react/var": "2.5.1-beta.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/react": "^19.2.7",
|