eslint-plugin-react-naming-convention 5.2.3-next.2 → 5.2.4-beta.1

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -25,7 +25,7 @@ var __exportAll = (all, no_symbols) => {
25
25
  //#endregion
26
26
  //#region package.json
27
27
  var name$1 = "eslint-plugin-react-naming-convention";
28
- var version = "5.2.3-next.2";
28
+ var version = "5.2.4-beta.1";
29
29
 
30
30
  //#endregion
31
31
  //#region src/utils/create-rule.ts
@@ -120,7 +120,7 @@ function create(context) {
120
120
  if (!context.sourceCode.text.includes("useRef")) return {};
121
121
  return merge({ CallExpression(node) {
122
122
  if (!core.isUseRefCall(context, node)) return;
123
- if (Extract.unwrapped(node.parent).type === AST_NODE_TYPES.MemberExpression) return;
123
+ if (Extract.unwrap(node.parent).type === AST_NODE_TYPES.MemberExpression) return;
124
124
  const [id, name] = match(resolveEnclosingAssignmentTarget(node)).with({
125
125
  type: AST_NODE_TYPES.Identifier,
126
126
  name: P.string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-naming-convention",
3
- "version": "5.2.3-next.2",
3
+ "version": "5.2.4-beta.1",
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/core": "5.2.3-next.2",
49
- "@eslint-react/eslint": "5.2.3-next.2",
50
- "@eslint-react/shared": "5.2.3-next.2",
51
- "@eslint-react/ast": "5.2.3-next.2",
52
- "@eslint-react/var": "5.2.3-next.2"
48
+ "@eslint-react/ast": "5.2.4-beta.1",
49
+ "@eslint-react/eslint": "5.2.4-beta.1",
50
+ "@eslint-react/core": "5.2.4-beta.1",
51
+ "@eslint-react/var": "5.2.4-beta.1",
52
+ "@eslint-react/shared": "5.2.4-beta.1"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/react": "^19.2.14",