eslint-plugin-react-naming-convention 5.18.6 → 5.18.8

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 +13 -2
  2. package/package.json +14 -14
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ var __exportAll = (all, no_symbols) => {
26
26
  //#endregion
27
27
  //#region package.json
28
28
  var name$1 = "eslint-plugin-react-naming-convention";
29
- var version = "5.18.6";
29
+ var version = "5.18.8";
30
30
 
31
31
  //#endregion
32
32
  //#region src/utils/create-rule.ts
@@ -169,9 +169,20 @@ const plugins = { "react-naming-convention": plugin };
169
169
 
170
170
  //#endregion
171
171
  //#region src/index.ts
172
+ function createConfig(base) {
173
+ return {
174
+ ...base,
175
+ plugins: {
176
+ ...base.plugins,
177
+ get ["react-naming-convention"]() {
178
+ return finalPlugin;
179
+ }
180
+ }
181
+ };
182
+ }
172
183
  const finalPlugin = {
173
184
  ...plugin,
174
- configs: { ["recommended"]: recommended_exports }
185
+ configs: { ["recommended"]: createConfig(recommended_exports) }
175
186
  };
176
187
 
177
188
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-naming-convention",
3
- "version": "5.18.6",
3
+ "version": "5.18.8",
4
4
  "description": "ESLint React's ESLint plugin for naming convention related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -37,24 +37,24 @@
37
37
  "dist"
38
38
  ],
39
39
  "dependencies": {
40
- "@typescript-eslint/types": "^8.67.0",
41
- "@typescript-eslint/utils": "^8.67.0",
42
- "ts-pattern": "^5.9.0",
43
- "@eslint-react/core": "5.18.6",
44
- "@eslint-react/ast": "5.18.6",
45
- "@eslint-react/eslint": "5.18.6",
46
- "@eslint-react/var": "5.18.6",
47
- "@eslint-react/shared": "5.18.6"
40
+ "@eslint-react/ast": "5.18.8",
41
+ "@eslint-react/core": "5.18.8",
42
+ "@eslint-react/eslint": "5.18.8",
43
+ "@eslint-react/shared": "5.18.8",
44
+ "@eslint-react/var": "5.18.8",
45
+ "@typescript-eslint/types": "^8.69.0",
46
+ "@typescript-eslint/utils": "^8.69.0",
47
+ "ts-pattern": "^5.9.0"
48
48
  },
49
49
  "devDependencies": {
50
+ "@local/configs": "0.0.0",
51
+ "@local/eff": "0.0.0",
50
52
  "@types/react": "^19.2.18",
51
- "@types/react-dom": "^19.2.4",
53
+ "@types/react-dom": "^19.2.5",
52
54
  "dedent": "^1.7.2",
53
- "eslint": "^10.8.1",
55
+ "eslint": "^10.9.1",
54
56
  "tsdown": "^0.22.14",
55
- "typescript": "6.0.3",
56
- "@local/configs": "0.0.0",
57
- "@local/eff": "0.0.0"
57
+ "typescript": "6.0.3"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "eslint": "*",