eslint-config-seekingalpha-react 10.39.0 → 10.39.2
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
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import jsxA11yConfig from './rules/eslint-plugin-jsx-a11y/index.js';
|
|
2
|
-
import reactConfig from './rules/eslint-plugin-react/index.js';
|
|
3
2
|
import reactHooksConfig from './rules/eslint-plugin-react-hooks/index.js';
|
|
3
|
+
import reactConfig from './rules/eslint-plugin-react/index.js';
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
plugins: {
|
package/oxc.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import config from './index.js';
|
|
2
2
|
import { ESLintPluginA11YDisabled } from './rules/eslint-plugin-jsx-a11y/oxlint-disabled.js';
|
|
3
3
|
import { ESLintPluginReactHooksDisabled } from './rules/eslint-plugin-react-hooks/oxlint-disabled.js';
|
|
4
|
-
|
|
5
|
-
import config from './index.js';
|
|
4
|
+
import { ESLintPluginReactDisabled } from './rules/eslint-plugin-react/oxlint-disabled.js';
|
|
6
5
|
|
|
7
6
|
const oxcConfig = {
|
|
8
7
|
...config,
|
package/oxlint-config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import reactConfig from './rules/eslint-plugin-react/oxlint-config.js';
|
|
2
1
|
import jsxA11yConfig from './rules/eslint-plugin-jsx-a11y/oxlint-config.js';
|
|
3
2
|
import reactHooksConfig from './rules/eslint-plugin-react-hooks/oxlint-config.js';
|
|
3
|
+
import reactConfig from './rules/eslint-plugin-react/oxlint-config.js';
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
extends: [reactConfig, jsxA11yConfig, reactHooksConfig],
|
package/package.json
CHANGED
|
@@ -13,31 +13,31 @@ export default {
|
|
|
13
13
|
|
|
14
14
|
/*
|
|
15
15
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-child-element-spacing.md
|
|
16
|
-
* Disabled to work with
|
|
16
|
+
* Disabled to work with oxfmt
|
|
17
17
|
*/
|
|
18
18
|
'react/jsx-child-element-spacing': 'off',
|
|
19
19
|
|
|
20
20
|
/*
|
|
21
21
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-bracket-location.md
|
|
22
|
-
* disable to work with
|
|
22
|
+
* disable to work with oxfmt
|
|
23
23
|
*/
|
|
24
24
|
'react/jsx-closing-bracket-location': 'off',
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
27
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-tag-location.md
|
|
28
|
-
* disable to work with
|
|
28
|
+
* disable to work with oxfmt
|
|
29
29
|
*/
|
|
30
30
|
'react/jsx-closing-tag-location': 'off',
|
|
31
31
|
|
|
32
32
|
/*
|
|
33
33
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-spacing.md
|
|
34
|
-
* disable to work with
|
|
34
|
+
* disable to work with oxfmt
|
|
35
35
|
*/
|
|
36
36
|
'react/jsx-curly-spacing': 'off',
|
|
37
37
|
|
|
38
38
|
/*
|
|
39
39
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-equals-spacing.md
|
|
40
|
-
* disable to work with
|
|
40
|
+
* disable to work with oxfmt
|
|
41
41
|
*/
|
|
42
42
|
'react/jsx-equals-spacing': 'off',
|
|
43
43
|
|
|
@@ -51,7 +51,7 @@ export default {
|
|
|
51
51
|
|
|
52
52
|
/*
|
|
53
53
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-first-prop-new-line.md
|
|
54
|
-
* disable to work with
|
|
54
|
+
* disable to work with oxfmt
|
|
55
55
|
*/
|
|
56
56
|
'react/jsx-first-prop-new-line': 'off',
|
|
57
57
|
|
|
@@ -63,13 +63,13 @@ export default {
|
|
|
63
63
|
|
|
64
64
|
/*
|
|
65
65
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-indent.md
|
|
66
|
-
* disable to work with
|
|
66
|
+
* disable to work with oxfmt
|
|
67
67
|
*/
|
|
68
68
|
'react/jsx-indent': 'off',
|
|
69
69
|
|
|
70
70
|
/*
|
|
71
71
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-indent-props.md
|
|
72
|
-
* disable ti work with
|
|
72
|
+
* disable ti work with oxfmt
|
|
73
73
|
*/
|
|
74
74
|
'react/jsx-indent-props': 'off',
|
|
75
75
|
|
|
@@ -93,13 +93,13 @@ export default {
|
|
|
93
93
|
|
|
94
94
|
/*
|
|
95
95
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-max-props-per-line.md
|
|
96
|
-
* disable to work with
|
|
96
|
+
* disable to work with oxfmt
|
|
97
97
|
*/
|
|
98
98
|
'react/jsx-max-props-per-line': 'off',
|
|
99
99
|
|
|
100
100
|
/*
|
|
101
101
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-newline.md
|
|
102
|
-
* disable to work with
|
|
102
|
+
* disable to work with oxfmt
|
|
103
103
|
*/
|
|
104
104
|
'react/jsx-newline': 'off',
|
|
105
105
|
|
|
@@ -147,7 +147,7 @@ export default {
|
|
|
147
147
|
|
|
148
148
|
/*
|
|
149
149
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-one-expression-per-line.md
|
|
150
|
-
* disable to worl with
|
|
150
|
+
* disable to worl with oxfmt
|
|
151
151
|
*/
|
|
152
152
|
'react/jsx-one-expression-per-line': 'off',
|
|
153
153
|
|
|
@@ -171,7 +171,7 @@ export default {
|
|
|
171
171
|
|
|
172
172
|
/*
|
|
173
173
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-props-no-multi-spaces.md
|
|
174
|
-
* disable to work with
|
|
174
|
+
* disable to work with oxfmt
|
|
175
175
|
*/
|
|
176
176
|
'react/jsx-props-no-multi-spaces': 'off',
|
|
177
177
|
|
|
@@ -193,7 +193,7 @@ export default {
|
|
|
193
193
|
|
|
194
194
|
/*
|
|
195
195
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-tag-spacing.md
|
|
196
|
-
* disable to work with
|
|
196
|
+
* disable to work with oxfmt
|
|
197
197
|
*/
|
|
198
198
|
'react/jsx-tag-spacing': 'off',
|
|
199
199
|
|
|
@@ -208,7 +208,7 @@ export default {
|
|
|
208
208
|
|
|
209
209
|
/*
|
|
210
210
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-wrap-multilines.md
|
|
211
|
-
* disable to work with
|
|
211
|
+
* disable to work with oxfmt
|
|
212
212
|
*/
|
|
213
213
|
'react/jsx-wrap-multilines': 'off',
|
|
214
214
|
|
|
@@ -223,7 +223,7 @@ export default {
|
|
|
223
223
|
|
|
224
224
|
/*
|
|
225
225
|
* https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-newline.md
|
|
226
|
-
* disable to work with
|
|
226
|
+
* disable to work with oxfmt
|
|
227
227
|
*/
|
|
228
228
|
'react/jsx-curly-newline': 'off',
|
|
229
229
|
|
|
@@ -33,6 +33,7 @@ export default {
|
|
|
33
33
|
'react/jsx-no-comment-textnodes': 'error',
|
|
34
34
|
'react/jsx-no-constructed-context-values': 'error',
|
|
35
35
|
'react/jsx-no-duplicate-props': 'error',
|
|
36
|
+
'react/jsx-no-literals': 'off',
|
|
36
37
|
'react/jsx-props-no-spread-multi': 'error',
|
|
37
38
|
'react/no-multi-comp': 'off',
|
|
38
39
|
'react/jsx-no-target-blank': [
|
|
@@ -9,6 +9,7 @@ export const ESLintPluginReactDisabled = {
|
|
|
9
9
|
'react/jsx-no-constructed-context-values': 'off',
|
|
10
10
|
'react/jsx-no-duplicate-props': 'off',
|
|
11
11
|
'react/jsx-props-no-spread-multi': 'off',
|
|
12
|
+
'react/jsx-no-literals': 'off',
|
|
12
13
|
'react/jsx-no-target-blank': 'off',
|
|
13
14
|
'react/jsx-no-undef': 'off',
|
|
14
15
|
'react/jsx-curly-brace-presence': 'off',
|