eslint-config-seekingalpha-react 10.37.0 → 10.38.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.38.0 - 2026-05-15
4
+
5
+ - [new] extend oxlint config
6
+
3
7
  ## 10.37.0 - 2026-05-12
4
8
 
5
9
  - [new] extend oxlint config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-seekingalpha-react",
3
- "version": "10.37.0",
3
+ "version": "10.38.0",
4
4
  "description": "SeekingAlpha's sharable React.js ESLint config",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -11,7 +11,7 @@ export default {
11
11
  "input[type='image']": [],
12
12
  },
13
13
  ],
14
- 'anchor-ambiguous-text': 'off',
14
+ 'jsx-a11y/anchor-ambiguous-text': 'off',
15
15
  'jsx-a11y/anchor-has-content': 'off',
16
16
  'jsx-a11y/anchor-is-valid': [
17
17
  'error',
@@ -33,6 +33,7 @@ export default {
33
33
  'jsx-a11y/aria-unsupported-elements': 'error',
34
34
  'jsx-a11y/autocomplete-valid': 'error',
35
35
  'jsx-a11y/click-events-have-key-events': 'error',
36
+ 'jsx-a11y/control-has-associated-label': 'error',
36
37
  'jsx-a11y/heading-has-content': [
37
38
  'error',
38
39
  {
@@ -101,6 +102,19 @@ export default {
101
102
  },
102
103
  ],
103
104
  'jsx-a11y/no-distracting-elements': 'error',
105
+ 'jsx-a11y/no-noninteractive-element-interactions': [
106
+ 'error',
107
+ {
108
+ handlers: [
109
+ 'onClick',
110
+ 'onMouseDown',
111
+ 'onMouseUp',
112
+ 'onKeyPress',
113
+ 'onKeyDown',
114
+ 'onKeyUp',
115
+ ],
116
+ },
117
+ ],
104
118
  'jsx-a11y/no-noninteractive-element-to-interactive-role': [
105
119
  'error',
106
120
  {
@@ -127,6 +141,12 @@ export default {
127
141
  td: ['gridcell'],
128
142
  },
129
143
  ],
144
+ 'jsx-a11y/no-interactive-element-to-noninteractive-role': [
145
+ 'error',
146
+ {
147
+ tr: ['none', 'presentation'],
148
+ },
149
+ ],
130
150
  'jsx-a11y/no-noninteractive-tabindex': [
131
151
  'error',
132
152
  {
@@ -1,6 +1,6 @@
1
1
  export const ESLintPluginA11YDisabled = {
2
2
  'jsx-a11y/alt-text': 'off',
3
- 'anchor-ambiguous-text': 'off',
3
+ 'jsx-a11y/anchor-ambiguous-text': 'off',
4
4
  'jsx-a11y/anchor-has-content': 'off',
5
5
  'jsx-a11y/anchor-is-valid': 'off',
6
6
  'jsx-a11y/aria-activedescendant-has-tabindex': 'off',
@@ -10,6 +10,7 @@ export const ESLintPluginA11YDisabled = {
10
10
  'jsx-a11y/aria-unsupported-elements': 'off',
11
11
  'jsx-a11y/autocomplete-valid': 'off',
12
12
  'jsx-a11y/click-events-have-key-events': 'off',
13
+ 'jsx-a11y/control-has-associated-label': 'error',
13
14
  'jsx-a11y/heading-has-content': 'off',
14
15
  'jsx-a11y/html-has-lang': 'off',
15
16
  'jsx-a11y/iframe-has-title': 'off',
@@ -22,7 +23,9 @@ export const ESLintPluginA11YDisabled = {
22
23
  'jsx-a11y/no-aria-hidden-on-focusable': 'off',
23
24
  'jsx-a11y/no-autofocus': 'off',
24
25
  'jsx-a11y/no-distracting-elements': 'off',
26
+ 'jsx-a11y/no-noninteractive-element-interactions': 'off',
25
27
  'jsx-a11y/no-noninteractive-element-to-interactive-role': 'off',
28
+ 'jsx-a11y/no-interactive-element-to-noninteractive-role': 'off',
26
29
  'jsx-a11y/no-noninteractive-tabindex': 'off',
27
30
  'jsx-a11y/no-redundant-roles': 'off',
28
31
  'jsx-a11y/no-static-element-interactions': 'off',