@mikey-pro/eslint-config-react 9.0.8 → 10.0.0

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 +6 -3
  2. package/package.json +4 -12
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // Modern React ESLint configuration for Mikey Pro
2
- import { baseConfig } from '../eslint-config/base-config.js';
2
+ import { baseConfig, globalPlugins } from '../eslint-config/base-config.js';
3
3
  import { baseOverrides } from '../eslint-config/overrides.js';
4
4
  import jsxA11y from 'eslint-plugin-jsx-a11y';
5
5
  import react from 'eslint-plugin-react';
@@ -218,7 +218,7 @@ const reactConfig = {
218
218
  'react/void-dom-elements-no-children': 'error',
219
219
  },
220
220
  settings: {
221
- 'import/resolver': {
221
+ 'import-x/resolver': {
222
222
  node: { extensions: ['.js', '.jsx', '.ts', '.tsx', '.mjs', '.cjs'] },
223
223
  },
224
224
  react: {
@@ -267,6 +267,9 @@ export default [
267
267
  ],
268
268
  },
269
269
 
270
+ // Global plugin registration
271
+ globalPlugins,
272
+
270
273
  // Base configuration
271
274
  baseConfig,
272
275
 
@@ -278,5 +281,5 @@ export default [
278
281
  ];
279
282
 
280
283
  // Export individual components for advanced usage
281
- export { baseConfig } from '../eslint-config/base-config.js';
284
+ export { baseConfig, globalPlugins } from '../eslint-config/base-config.js';
282
285
  export { baseOverrides } from '../eslint-config/overrides.js';
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config-react",
3
- "version": "9.0.8",
3
+ "version": "10.0.0",
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
9
  "@mikey-pro/eslint-config": "file:../eslint-config",
10
- "eslint-config-react-app-bump": "^1.0.25",
11
10
  "eslint-plugin-jest-dom": "^5.5.0",
12
11
  "eslint-plugin-jsx-a11y": "^6.10.2",
13
12
  "eslint-plugin-react": "^7.37.5",
@@ -27,12 +26,7 @@
27
26
  "optional": true
28
27
  }
29
28
  },
30
- "files": [
31
- "index.js",
32
- "flat.js",
33
- "README.md",
34
- "LICENSE"
35
- ],
29
+ "files": ["index.js", "flat.js", "README.md", "LICENSE"],
36
30
  "homepage": "https://github.com/chiefmikey/mikey-pro#readme",
37
31
  "repository": {
38
32
  "type": "git",
@@ -61,11 +55,9 @@
61
55
  "flat-config"
62
56
  ],
63
57
  "author": "Mikl Wolfe <wolfe@mikl.io> (https://mikl.io)",
64
- "browserslist": [
65
- "defaults"
66
- ],
58
+ "browserslist": ["defaults"],
67
59
  "engines": {
68
- "node": ">=20.0.0",
60
+ "node": ">=20.19.0",
69
61
  "npm": ">=9.0.0",
70
62
  "pnpm": ">=8.0.0",
71
63
  "yarn": ">=4.0.0"