eslint-plugin-react-naming-convention 2.4.1-next.11 → 2.4.1-next.12

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 +3 -3
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ const rules = {
39
39
  //#endregion
40
40
  //#region package.json
41
41
  var name = "eslint-plugin-react-naming-convention";
42
- var version = "2.4.1-next.11";
42
+ var version = "2.4.1-next.12";
43
43
 
44
44
  //#endregion
45
45
  //#region src/utils/create-rule.ts
@@ -159,7 +159,7 @@ const RULE_NAME$3 = "context-name";
159
159
  var context_name_default = createRule({
160
160
  meta: {
161
161
  type: "problem",
162
- docs: { description: "Enforces context name to be a valid component name with the suffix 'Context'." },
162
+ docs: { description: "Enforces the context name to be a valid component name with the suffix 'Context'." },
163
163
  messages: { invalidContextName: "A context name must be a valid component name with the suffix 'Context'." },
164
164
  schema: []
165
165
  },
@@ -389,7 +389,7 @@ const schema = [{
389
389
  var use_state_default = createRule({
390
390
  meta: {
391
391
  type: "problem",
392
- docs: { description: "Enforces destructuring and symmetric naming of 'useState' hook value and setter." },
392
+ docs: { description: "Enforces destructuring and symmetric naming of the 'useState' hook value and setter." },
393
393
  messages: {
394
394
  invalidAssignment: "useState should be destructured into a value and setter pair, e.g., const [state, setState] = useState(...).",
395
395
  invalidSetterName: "The setter should be named 'set' followed by the capitalized state variable name, e.g., 'setState' for 'state'."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-naming-convention",
3
- "version": "2.4.1-next.11",
3
+ "version": "2.4.1-next.12",
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.4.1-next.11",
48
- "@eslint-react/core": "2.4.1-next.11",
49
- "@eslint-react/eff": "2.4.1-next.11",
50
- "@eslint-react/var": "2.4.1-next.11",
51
- "@eslint-react/shared": "2.4.1-next.11"
47
+ "@eslint-react/ast": "2.4.1-next.12",
48
+ "@eslint-react/shared": "2.4.1-next.12",
49
+ "@eslint-react/eff": "2.4.1-next.12",
50
+ "@eslint-react/core": "2.4.1-next.12",
51
+ "@eslint-react/var": "2.4.1-next.12"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/react": "^19.2.7",