eslint-config-seekingalpha-react 9.0.1 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 10.0.0 - 2025-03-09
4
+
5
+ - [deps] upgrade `eslint` to version `9.22.0`
6
+
7
+ ## 9.0.2 - 2025-03-09
8
+
9
+ - [breaking] migrate to ESM and make flat config default
10
+
3
11
  ## 9.0.1 - 2025-03-09
4
12
 
5
13
  - [breaking] migrate to ESM and make flat config default
package/README.md CHANGED
@@ -6,7 +6,7 @@ This package includes the shareable ESLint config used by [SeekingAlpha](https:/
6
6
 
7
7
  Install ESLint and all [Peer Dependencies](https://nodejs.org/en/blog/npm/peer-dependencies/):
8
8
 
9
- npm install eslint@8.57.1 eslint-plugin-jsx-a11y@6.10.2 eslint-plugin-react@7.37.4 eslint-plugin-react-hooks@5.2.0 --save-dev
9
+ npm install eslint@9.22.0 eslint-plugin-jsx-a11y@6.10.2 eslint-plugin-react@7.37.4 eslint-plugin-react-hooks@5.2.0 --save-dev
10
10
 
11
11
  Install SeekingAlpha shareable ESLint:
12
12
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "eslint-config-seekingalpha-react",
3
- "version": "9.0.1",
3
+ "version": "10.0.0",
4
4
  "description": "SeekingAlpha's sharable React.js ESLint config",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
7
  "scripts": {
8
- "eslint-find-rules": "eslint-find-rules -u ./index.js",
8
+ "eslint-find-rules": "eslint-find-rules --flatConfig -u ./index.js",
9
9
  "test": "echo \"Error: no test specified\" && exit 1"
10
10
  },
11
11
  "repository": {
@@ -50,13 +50,13 @@
50
50
  "node": ">= 22"
51
51
  },
52
52
  "peerDependencies": {
53
- "eslint": "8.57.1",
53
+ "eslint": "9.22.0",
54
54
  "eslint-plugin-jsx-a11y": "6.10.2",
55
55
  "eslint-plugin-react": "7.37.4",
56
56
  "eslint-plugin-react-hooks": "5.2.0"
57
57
  },
58
58
  "devDependencies": {
59
- "eslint": "8.57.1",
59
+ "eslint": "9.22.0",
60
60
  "eslint-find-rules": "5.0.0",
61
61
  "eslint-plugin-jsx-a11y": "6.10.2",
62
62
  "eslint-plugin-react": "7.37.4",
@@ -8,7 +8,7 @@ export default {
8
8
  react: reactPlugin,
9
9
  },
10
10
  rules: {
11
- ...jsxConfig.rules,
12
- ...reactConfig.rules,
11
+ ...jsxConfig,
12
+ ...reactConfig,
13
13
  },
14
14
  };