eslint-config-seekingalpha-react 10.34.0 → 10.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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 10.35.0 - 2026-04-27
4
+
5
+ - [new] extend oxlint config
6
+
3
7
  ## 10.34.0 - 2026-04-17
4
8
 
5
9
  - [deps] upgrade `eslint-plugin-react-hooks` to version `7.1.1`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-seekingalpha-react",
3
- "version": "10.34.0",
3
+ "version": "10.35.0",
4
4
  "description": "SeekingAlpha's sharable React.js ESLint config",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -75,6 +75,18 @@ export default {
75
75
  ],
76
76
  'react/checked-requires-onchange-or-readonly': 'error',
77
77
  'react/display-name': 'off',
78
+ 'react/forbid-component-props': [
79
+ 'error',
80
+ {
81
+ forbid: [
82
+ 'style',
83
+ {
84
+ propName: 'className',
85
+ allowedFor: ['Button', 'Icon', 'Link'],
86
+ },
87
+ ],
88
+ },
89
+ ],
78
90
  'react/forbid-dom-props': [
79
91
  'error',
80
92
  {
@@ -142,6 +154,7 @@ export default {
142
154
  'react/no-children-prop': 'error',
143
155
  'react/no-danger-with-children': 'error',
144
156
  'react/no-did-mount-set-state': 'off',
157
+ 'react/no-did-update-set-state': 'off',
145
158
  'react/no-direct-mutation-state': 'error',
146
159
  'react/no-find-dom-node': 'error',
147
160
  'react/no-is-mounted': 'error',
@@ -20,6 +20,7 @@ export const ESLintPluginReactDisabled = {
20
20
  'react/button-has-type': 'off',
21
21
  'react/checked-requires-onchange-or-readonly': 'off',
22
22
  'react/display-name': 'off',
23
+ 'react/forbid-component-props': 'off',
23
24
  'react/forbid-dom-props': 'off',
24
25
  'react/forbid-elements': 'off',
25
26
  'react/forward-ref-uses-ref': 'off',
@@ -29,6 +30,7 @@ export const ESLintPluginReactDisabled = {
29
30
  'react/no-children-prop': 'off',
30
31
  'react/no-danger-with-children': 'off',
31
32
  'react/no-did-mount-set-state': 'off',
33
+ 'react/no-did-update-set-state': 'off',
32
34
  'react/no-direct-mutation-state': 'off',
33
35
  'react/no-find-dom-node': 'off',
34
36
  'react/no-is-mounted': 'off',