eslint-plugin-react-naming-convention 2.5.4 → 2.5.5-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 +3 -3
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ const rules = {
|
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region package.json
|
|
43
43
|
var name = "eslint-plugin-react-naming-convention";
|
|
44
|
-
var version = "2.5.
|
|
44
|
+
var version = "2.5.5-beta.0";
|
|
45
45
|
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/utils/create-rule.ts
|
|
@@ -374,8 +374,8 @@ const RULE_NAME$1 = "ref-name";
|
|
|
374
374
|
var ref_name_default = createRule({
|
|
375
375
|
meta: {
|
|
376
376
|
type: "suggestion",
|
|
377
|
-
docs: { description: "Enforces
|
|
378
|
-
messages: { invalidRefName: "
|
|
377
|
+
docs: { description: "Enforces identifier names assigned from 'useRef' calls to be either 'ref' or end with 'Ref'." },
|
|
378
|
+
messages: { invalidRefName: "A ref identifier must be named 'ref' or ending in 'Ref'." },
|
|
379
379
|
schema: []
|
|
380
380
|
},
|
|
381
381
|
name: RULE_NAME$1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-naming-convention",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5-beta.0",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for naming convention related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"compare-versions": "^6.1.1",
|
|
46
46
|
"string-ts": "^2.3.1",
|
|
47
47
|
"ts-pattern": "^5.9.0",
|
|
48
|
-
"@eslint-react/ast": "2.5.
|
|
49
|
-
"@eslint-react/
|
|
50
|
-
"@eslint-react/
|
|
51
|
-
"@eslint-react/
|
|
52
|
-
"@eslint-react/var": "2.5.
|
|
48
|
+
"@eslint-react/ast": "2.5.5-beta.0",
|
|
49
|
+
"@eslint-react/core": "2.5.5-beta.0",
|
|
50
|
+
"@eslint-react/eff": "2.5.5-beta.0",
|
|
51
|
+
"@eslint-react/shared": "2.5.5-beta.0",
|
|
52
|
+
"@eslint-react/var": "2.5.5-beta.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/react": "^19.2.8",
|