eslint-config-seekingalpha-react 7.33.0 → 7.35.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 +9 -0
- package/README.md +1 -1
- package/package.json +3 -3
- package/rules/eslint-plugin-react/jsx.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.35.0 - 2024-09-03
|
|
4
|
+
|
|
5
|
+
- [deps] upgrade `eslint-plugin-react` to version `7.35.1`
|
|
6
|
+
|
|
7
|
+
## 7.34.0 - 2024-07-20
|
|
8
|
+
|
|
9
|
+
- [deps] upgrade `eslint-plugin-react` to version `7.35.0`
|
|
10
|
+
- [breaking] introduce `react/jsx-props-no-spread-multi` rule
|
|
11
|
+
|
|
3
12
|
## 7.33.0 - 2024-07-14
|
|
4
13
|
|
|
5
14
|
- [deps] upgrade `eslint-plugin-react` to version `7.34.4`
|
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.0 eslint-plugin-jsx-a11y@6.9.0 eslint-plugin-react@7.
|
|
9
|
+
npm install eslint@8.57.0 eslint-plugin-jsx-a11y@6.9.0 eslint-plugin-react@7.35.1 eslint-plugin-react-hooks@4.6.2 --save-dev
|
|
10
10
|
|
|
11
11
|
Install SeekingAlpha shareable ESLint:
|
|
12
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-seekingalpha-react",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.35.0",
|
|
4
4
|
"description": "SeekingAlpha's sharable React.js ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"eslint": "8.57.0",
|
|
53
53
|
"eslint-plugin-jsx-a11y": "6.9.0",
|
|
54
|
-
"eslint-plugin-react": "7.
|
|
54
|
+
"eslint-plugin-react": "7.35.1",
|
|
55
55
|
"eslint-plugin-react-hooks": "4.6.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"eslint": "8.57.0",
|
|
59
59
|
"eslint-find-rules": "4.1.0",
|
|
60
60
|
"eslint-plugin-jsx-a11y": "6.9.0",
|
|
61
|
-
"eslint-plugin-react": "7.
|
|
61
|
+
"eslint-plugin-react": "7.35.1",
|
|
62
62
|
"eslint-plugin-react-hooks": "4.6.2"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -133,6 +133,9 @@ module.exports = {
|
|
|
133
133
|
},
|
|
134
134
|
],
|
|
135
135
|
|
|
136
|
+
// https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-props-no-spread-multi.md
|
|
137
|
+
'react/jsx-props-no-spread-multi': 'error',
|
|
138
|
+
|
|
136
139
|
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-target-blank.md
|
|
137
140
|
'react/jsx-no-target-blank': [
|
|
138
141
|
'error',
|