@mikey-pro/eslint-config-react 10.0.0 → 10.0.2
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 +5 -5
- package/package.json +13 -6
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Modern React ESLint configuration for Mikey Pro
|
|
2
|
-
import { baseConfig, globalPlugins } from '
|
|
3
|
-
import { baseOverrides } from '
|
|
2
|
+
import { baseConfig, globalPlugins } from '@mikey-pro/eslint-config/base-config.js';
|
|
3
|
+
import { baseOverrides } from '@mikey-pro/eslint-config/overrides.js';
|
|
4
4
|
import jsxA11y from 'eslint-plugin-jsx-a11y';
|
|
5
5
|
import react from 'eslint-plugin-react';
|
|
6
6
|
import reactHooks from 'eslint-plugin-react-hooks';
|
|
@@ -222,7 +222,7 @@ const reactConfig = {
|
|
|
222
222
|
node: { extensions: ['.js', '.jsx', '.ts', '.tsx', '.mjs', '.cjs'] },
|
|
223
223
|
},
|
|
224
224
|
react: {
|
|
225
|
-
version: '
|
|
225
|
+
version: '18',
|
|
226
226
|
},
|
|
227
227
|
},
|
|
228
228
|
};
|
|
@@ -281,5 +281,5 @@ export default [
|
|
|
281
281
|
];
|
|
282
282
|
|
|
283
283
|
// Export individual components for advanced usage
|
|
284
|
-
export { baseConfig, globalPlugins } from '
|
|
285
|
-
export { baseOverrides } from '
|
|
284
|
+
export { baseConfig, globalPlugins } from '@mikey-pro/eslint-config/base-config.js';
|
|
285
|
+
export { baseOverrides } from '@mikey-pro/eslint-config/overrides.js';
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikey-pro/eslint-config-react",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.2",
|
|
4
4
|
"description": "Mikey Pro ESLint React configuration - Ultimate React coding style guide",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/preset-react": "^7.27.1",
|
|
9
|
-
"@mikey-pro/eslint-config": "
|
|
9
|
+
"@mikey-pro/eslint-config": "^10.0.0",
|
|
10
10
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
11
11
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
12
12
|
"eslint-plugin-react": "^7.37.5",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"eslint-plugin-testing-library": "^7.6.8"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@mikey-pro/eslint-config": "
|
|
19
|
+
"@mikey-pro/eslint-config": "^10.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependenciesMeta": {
|
|
22
22
|
"@types/react": {
|
|
@@ -26,7 +26,12 @@
|
|
|
26
26
|
"optional": true
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
"files": [
|
|
29
|
+
"files": [
|
|
30
|
+
"index.js",
|
|
31
|
+
"flat.js",
|
|
32
|
+
"README.md",
|
|
33
|
+
"LICENSE"
|
|
34
|
+
],
|
|
30
35
|
"homepage": "https://github.com/chiefmikey/mikey-pro#readme",
|
|
31
36
|
"repository": {
|
|
32
37
|
"type": "git",
|
|
@@ -51,11 +56,13 @@
|
|
|
51
56
|
"style-guide",
|
|
52
57
|
"style",
|
|
53
58
|
"guide",
|
|
54
|
-
"eslint-
|
|
59
|
+
"eslint-10",
|
|
55
60
|
"flat-config"
|
|
56
61
|
],
|
|
57
62
|
"author": "Mikl Wolfe <wolfe@mikl.io> (https://mikl.io)",
|
|
58
|
-
"browserslist": [
|
|
63
|
+
"browserslist": [
|
|
64
|
+
"defaults"
|
|
65
|
+
],
|
|
59
66
|
"engines": {
|
|
60
67
|
"node": ">=20.19.0",
|
|
61
68
|
"npm": ">=9.0.0",
|