@mikey-pro/eslint-config-react 10.2.0 → 10.3.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/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -170,6 +170,7 @@ const reactConfig = {
170
170
  shorthandFirst: true,
171
171
  },
172
172
  ],
173
+ 'react/display-name': 'off', // Crashes on ESLint 10 (getFilename removed)
173
174
  'react/no-array-index-key': 'warn',
174
175
  'react/no-danger': 'warn',
175
176
  'react/no-deprecated': 'error',
@@ -222,7 +223,7 @@ const reactConfig = {
222
223
  node: { extensions: ['.js', '.jsx', '.ts', '.tsx', '.mjs', '.cjs'] },
223
224
  },
224
225
  react: {
225
- version: '18',
226
+ version: 'detect',
226
227
  },
227
228
  },
228
229
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config-react",
3
- "version": "10.2.0",
3
+ "version": "10.3.1",
4
4
  "description": "Mikey Pro ESLint React configuration - Ultimate React coding style guide",
5
5
  "type": "module",
6
6
  "main": "index.js",