@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.
- package/index.js +2 -1
- 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: '
|
|
226
|
+
version: 'detect',
|
|
226
227
|
},
|
|
227
228
|
},
|
|
228
229
|
};
|