@mado/oxlint 0.2.1 → 0.4.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/dist/react.cjs CHANGED
@@ -1,182 +1 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const rules = {
6
- // https://oxc.rs/docs/guide/usage/linter/rules/react/button-has-type.html
7
- 'react/button-has-type': 'off',
8
- // https://oxc.rs/docs/guide/usage/linter/rules/react/capitalized-calls.html
9
- 'react/capitalized-calls': 'off',
10
- // https://oxc.rs/docs/guide/usage/linter/rules/react/checked-requires-onchange-or-readonly.html
11
- 'react/checked-requires-onchange-or-readonly': 'off',
12
- // https://oxc.rs/docs/guide/usage/linter/rules/react/display-name.html
13
- 'react/display-name': 'off',
14
- // https://oxc.rs/docs/guide/usage/linter/rules/react/error-boundaries.html
15
- 'react/error-boundaries': 'off',
16
- // https://oxc.rs/docs/guide/usage/linter/rules/react/exhaustive-deps.html
17
- 'react/exhaustive-deps': 'off',
18
- // https://oxc.rs/docs/guide/usage/linter/rules/react/exhaustive-effect-dependencies.html
19
- 'react/exhaustive-effect-dependencies': 'off',
20
- // https://oxc.rs/docs/guide/usage/linter/rules/react/forbid-component-props.html
21
- 'react/forbid-component-props': 'off',
22
- // https://oxc.rs/docs/guide/usage/linter/rules/react/forbid-dom-props.html
23
- 'react/forbid-dom-props': 'off',
24
- // https://oxc.rs/docs/guide/usage/linter/rules/react/forbid-elements.html
25
- 'react/forbid-elements': 'off',
26
- // https://oxc.rs/docs/guide/usage/linter/rules/react/forward-ref-uses-ref.html
27
- 'react/forward-ref-uses-ref': 'off',
28
- // https://oxc.rs/docs/guide/usage/linter/rules/react/function-component-definition.html
29
- 'react/function-component-definition': 'off',
30
- // https://oxc.rs/docs/guide/usage/linter/rules/react/globals.html
31
- 'react/globals': 'off',
32
- // https://oxc.rs/docs/guide/usage/linter/rules/react/hook-use-state.html
33
- 'react/hook-use-state': 'off',
34
- // https://oxc.rs/docs/guide/usage/linter/rules/react/hooks.html
35
- 'react/hooks': 'off',
36
- // https://oxc.rs/docs/guide/usage/linter/rules/react/iframe-missing-sandbox.html
37
- 'react/iframe-missing-sandbox': 'off',
38
- // https://oxc.rs/docs/guide/usage/linter/rules/react/immutability.html
39
- 'react/immutability': 'off',
40
- // https://oxc.rs/docs/guide/usage/linter/rules/react/incompatible-library.html
41
- 'react/incompatible-library': 'off',
42
- // https://oxc.rs/docs/guide/usage/linter/rules/react/invariant.html
43
- 'react/invariant': 'off',
44
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-boolean-value.html
45
- 'react/jsx-boolean-value': 'off',
46
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-curly-brace-presence.html
47
- 'react/jsx-curly-brace-presence': 'off',
48
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-filename-extension.html
49
- 'react/jsx-filename-extension': 'off',
50
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-fragments.html
51
- 'react/jsx-fragments': 'off',
52
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-handler-names.html
53
- 'react/jsx-handler-names': 'off',
54
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-key.html
55
- 'react/jsx-key': 'off',
56
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-max-depth.html
57
- 'react/jsx-max-depth': 'off',
58
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-comment-textnodes.html
59
- 'react/jsx-no-comment-textnodes': 'off',
60
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-constructed-context-values.html
61
- 'react/jsx-no-constructed-context-values': 'off',
62
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-duplicate-props.html
63
- 'react/jsx-no-duplicate-props': 'off',
64
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-literals.html
65
- 'react/jsx-no-literals': 'off',
66
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-script-url.html
67
- 'react/jsx-no-script-url': 'off',
68
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-target-blank.html
69
- 'react/jsx-no-target-blank': 'off',
70
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-undef.html
71
- 'react/jsx-no-undef': 'off',
72
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-useless-fragment.html
73
- 'react/jsx-no-useless-fragment': 'off',
74
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-pascal-case.html
75
- 'react/jsx-pascal-case': 'off',
76
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-props-no-spread-multi.html
77
- 'react/jsx-props-no-spread-multi': 'off',
78
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-props-no-spreading.html
79
- 'react/jsx-props-no-spreading': 'off',
80
- // https://oxc.rs/docs/guide/usage/linter/rules/react/memo-dependencies.html
81
- 'react/memo-dependencies': 'off',
82
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-array-index-key.html
83
- 'react/no-array-index-key': 'off',
84
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-children-prop.html
85
- 'react/no-children-prop': 'off',
86
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-clone-element.html
87
- 'react/no-clone-element': 'off',
88
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-danger.html
89
- 'react/no-danger': 'off',
90
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-danger-with-children.html
91
- 'react/no-danger-with-children': 'off',
92
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-deriving-state-in-effects.html
93
- 'react/no-deriving-state-in-effects': 'off',
94
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-did-mount-set-state.html
95
- 'react/no-did-mount-set-state': 'off',
96
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-did-update-set-state.html
97
- 'react/no-did-update-set-state': 'off',
98
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-direct-mutation-state.html
99
- 'react/no-direct-mutation-state': 'off',
100
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-find-dom-node.html
101
- 'react/no-find-dom-node': 'off',
102
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-is-mounted.html
103
- 'react/no-is-mounted': 'off',
104
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-multi-comp.html
105
- 'react/no-multi-comp': 'off',
106
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-namespace.html
107
- 'react/no-namespace': 'off',
108
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-object-type-as-default-prop.html
109
- 'react/no-object-type-as-default-prop': 'off',
110
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-react-children.html
111
- 'react/no-react-children': 'off',
112
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-redundant-should-component-update.html
113
- 'react/no-redundant-should-component-update': 'off',
114
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-render-return-value.html
115
- 'react/no-render-return-value': 'off',
116
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-set-state.html
117
- 'react/no-set-state': 'off',
118
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-string-refs.html
119
- 'react/no-string-refs': 'off',
120
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-this-in-sfc.html
121
- 'react/no-this-in-sfc': 'off',
122
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-unescaped-entities.html
123
- 'react/no-unescaped-entities': 'off',
124
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-unknown-property.html
125
- 'react/no-unknown-property': 'off',
126
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-unsafe.html
127
- 'react/no-unsafe': 'off',
128
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-unstable-nested-components.html
129
- 'react/no-unstable-nested-components': 'off',
130
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-will-update-set-state.html
131
- 'react/no-will-update-set-state': 'off',
132
- // https://oxc.rs/docs/guide/usage/linter/rules/react/only-export-components.html
133
- 'react/only-export-components': 'off',
134
- // https://oxc.rs/docs/guide/usage/linter/rules/react/prefer-es6-class.html
135
- 'react/prefer-es6-class': 'off',
136
- // https://oxc.rs/docs/guide/usage/linter/rules/react/prefer-function-component.html
137
- 'react/prefer-function-component': 'off',
138
- // https://oxc.rs/docs/guide/usage/linter/rules/react/preserve-manual-memoization.html
139
- 'react/preserve-manual-memoization': 'off',
140
- // https://oxc.rs/docs/guide/usage/linter/rules/react/purity.html
141
- 'react/purity': 'off',
142
- // https://oxc.rs/docs/guide/usage/linter/rules/react/react-in-jsx-scope.html
143
- 'react/react-in-jsx-scope': 'off',
144
- // https://oxc.rs/docs/guide/usage/linter/rules/react/refs.html
145
- 'react/refs': 'off',
146
- // https://oxc.rs/docs/guide/usage/linter/rules/react/require-render-return.html
147
- 'react/require-render-return': 'off',
148
- // https://oxc.rs/docs/guide/usage/linter/rules/react/rule-suppression.html
149
- 'react/rule-suppression': 'off',
150
- // https://oxc.rs/docs/guide/usage/linter/rules/react/rules-of-hooks.html
151
- 'react/rules-of-hooks': 'off',
152
- // https://oxc.rs/docs/guide/usage/linter/rules/react/self-closing-comp.html
153
- 'react/self-closing-comp': 'off',
154
- // https://oxc.rs/docs/guide/usage/linter/rules/react/set-state-in-effect.html
155
- 'react/set-state-in-effect': 'off',
156
- // https://oxc.rs/docs/guide/usage/linter/rules/react/set-state-in-render.html
157
- 'react/set-state-in-render': 'off',
158
- // https://oxc.rs/docs/guide/usage/linter/rules/react/state-in-constructor.html
159
- 'react/state-in-constructor': 'off',
160
- // https://oxc.rs/docs/guide/usage/linter/rules/react/static-components.html
161
- 'react/static-components': 'off',
162
- // https://oxc.rs/docs/guide/usage/linter/rules/react/style-prop-object.html
163
- 'react/style-prop-object': 'off',
164
- // https://oxc.rs/docs/guide/usage/linter/rules/react/syntax.html
165
- 'react/syntax': 'off',
166
- // https://oxc.rs/docs/guide/usage/linter/rules/react/todo.html
167
- 'react/todo': 'off',
168
- // https://oxc.rs/docs/guide/usage/linter/rules/react/unsupported-syntax.html
169
- 'react/unsupported-syntax': 'off',
170
- // https://oxc.rs/docs/guide/usage/linter/rules/react/use-memo.html
171
- 'react/use-memo': 'off',
172
- // https://oxc.rs/docs/guide/usage/linter/rules/react/void-dom-elements-no-children.html
173
- 'react/void-dom-elements-no-children': 'off',
174
- // https://oxc.rs/docs/guide/usage/linter/rules/react/void-use-memo.html
175
- 'react/void-use-memo': 'off'
176
- };
177
- var react = {
178
- plugins: ['react'],
179
- rules
180
- };
181
-
182
- exports.default = react;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:true});const rules={"react/button-has-type":"off","react/capitalized-calls":"off","react/checked-requires-onchange-or-readonly":"off","react/display-name":"off","react/error-boundaries":"off","react/exhaustive-deps":"off","react/exhaustive-effect-dependencies":"off","react/forbid-component-props":"off","react/forbid-dom-props":"off","react/forbid-elements":"off","react/forward-ref-uses-ref":"off","react/function-component-definition":"off","react/globals":"off","react/hook-use-state":"off","react/hooks":"off","react/iframe-missing-sandbox":"off","react/immutability":"off","react/incompatible-library":"off","react/invariant":"off","react/jsx-boolean-value":"off","react/jsx-curly-brace-presence":"off","react/jsx-filename-extension":"off","react/jsx-fragments":"off","react/jsx-handler-names":"off","react/jsx-key":"off","react/jsx-max-depth":"off","react/jsx-no-comment-textnodes":"off","react/jsx-no-constructed-context-values":"off","react/jsx-no-duplicate-props":"off","react/jsx-no-literals":"off","react/jsx-no-script-url":"off","react/jsx-no-target-blank":"off","react/jsx-no-undef":"off","react/jsx-no-useless-fragment":"off","react/jsx-pascal-case":"off","react/jsx-props-no-spread-multi":"off","react/jsx-props-no-spreading":"off","react/memo-dependencies":"off","react/no-array-index-key":"off","react/no-children-prop":"off","react/no-clone-element":"off","react/no-danger":"off","react/no-danger-with-children":"off","react/no-deriving-state-in-effects":"off","react/no-did-mount-set-state":"off","react/no-did-update-set-state":"off","react/no-direct-mutation-state":"off","react/no-find-dom-node":"off","react/no-is-mounted":"off","react/no-multi-comp":"off","react/no-namespace":"off","react/no-object-type-as-default-prop":"off","react/no-react-children":"off","react/no-redundant-should-component-update":"off","react/no-render-return-value":"off","react/no-set-state":"off","react/no-string-refs":"off","react/no-this-in-sfc":"off","react/no-unescaped-entities":"off","react/no-unknown-property":"off","react/no-unsafe":"off","react/no-unstable-nested-components":"off","react/no-will-update-set-state":"off","react/only-export-components":"off","react/prefer-es6-class":"off","react/prefer-function-component":"off","react/preserve-manual-memoization":"off","react/purity":"off","react/react-in-jsx-scope":"off","react/refs":"off","react/require-render-return":"off","react/rule-suppression":"off","react/rules-of-hooks":"off","react/self-closing-comp":"off","react/set-state-in-effect":"off","react/set-state-in-render":"off","react/state-in-constructor":"off","react/static-components":"off","react/style-prop-object":"off","react/syntax":"off","react/todo":"off","react/unsupported-syntax":"off","react/use-memo":"off","react/void-dom-elements-no-children":"off","react/void-use-memo":"off"};var react={plugins:["react"],rules:rules};exports.default=react;
package/dist/react.js CHANGED
@@ -1,178 +1 @@
1
- const rules = {
2
- // https://oxc.rs/docs/guide/usage/linter/rules/react/button-has-type.html
3
- 'react/button-has-type': 'off',
4
- // https://oxc.rs/docs/guide/usage/linter/rules/react/capitalized-calls.html
5
- 'react/capitalized-calls': 'off',
6
- // https://oxc.rs/docs/guide/usage/linter/rules/react/checked-requires-onchange-or-readonly.html
7
- 'react/checked-requires-onchange-or-readonly': 'off',
8
- // https://oxc.rs/docs/guide/usage/linter/rules/react/display-name.html
9
- 'react/display-name': 'off',
10
- // https://oxc.rs/docs/guide/usage/linter/rules/react/error-boundaries.html
11
- 'react/error-boundaries': 'off',
12
- // https://oxc.rs/docs/guide/usage/linter/rules/react/exhaustive-deps.html
13
- 'react/exhaustive-deps': 'off',
14
- // https://oxc.rs/docs/guide/usage/linter/rules/react/exhaustive-effect-dependencies.html
15
- 'react/exhaustive-effect-dependencies': 'off',
16
- // https://oxc.rs/docs/guide/usage/linter/rules/react/forbid-component-props.html
17
- 'react/forbid-component-props': 'off',
18
- // https://oxc.rs/docs/guide/usage/linter/rules/react/forbid-dom-props.html
19
- 'react/forbid-dom-props': 'off',
20
- // https://oxc.rs/docs/guide/usage/linter/rules/react/forbid-elements.html
21
- 'react/forbid-elements': 'off',
22
- // https://oxc.rs/docs/guide/usage/linter/rules/react/forward-ref-uses-ref.html
23
- 'react/forward-ref-uses-ref': 'off',
24
- // https://oxc.rs/docs/guide/usage/linter/rules/react/function-component-definition.html
25
- 'react/function-component-definition': 'off',
26
- // https://oxc.rs/docs/guide/usage/linter/rules/react/globals.html
27
- 'react/globals': 'off',
28
- // https://oxc.rs/docs/guide/usage/linter/rules/react/hook-use-state.html
29
- 'react/hook-use-state': 'off',
30
- // https://oxc.rs/docs/guide/usage/linter/rules/react/hooks.html
31
- 'react/hooks': 'off',
32
- // https://oxc.rs/docs/guide/usage/linter/rules/react/iframe-missing-sandbox.html
33
- 'react/iframe-missing-sandbox': 'off',
34
- // https://oxc.rs/docs/guide/usage/linter/rules/react/immutability.html
35
- 'react/immutability': 'off',
36
- // https://oxc.rs/docs/guide/usage/linter/rules/react/incompatible-library.html
37
- 'react/incompatible-library': 'off',
38
- // https://oxc.rs/docs/guide/usage/linter/rules/react/invariant.html
39
- 'react/invariant': 'off',
40
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-boolean-value.html
41
- 'react/jsx-boolean-value': 'off',
42
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-curly-brace-presence.html
43
- 'react/jsx-curly-brace-presence': 'off',
44
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-filename-extension.html
45
- 'react/jsx-filename-extension': 'off',
46
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-fragments.html
47
- 'react/jsx-fragments': 'off',
48
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-handler-names.html
49
- 'react/jsx-handler-names': 'off',
50
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-key.html
51
- 'react/jsx-key': 'off',
52
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-max-depth.html
53
- 'react/jsx-max-depth': 'off',
54
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-comment-textnodes.html
55
- 'react/jsx-no-comment-textnodes': 'off',
56
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-constructed-context-values.html
57
- 'react/jsx-no-constructed-context-values': 'off',
58
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-duplicate-props.html
59
- 'react/jsx-no-duplicate-props': 'off',
60
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-literals.html
61
- 'react/jsx-no-literals': 'off',
62
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-script-url.html
63
- 'react/jsx-no-script-url': 'off',
64
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-target-blank.html
65
- 'react/jsx-no-target-blank': 'off',
66
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-undef.html
67
- 'react/jsx-no-undef': 'off',
68
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-no-useless-fragment.html
69
- 'react/jsx-no-useless-fragment': 'off',
70
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-pascal-case.html
71
- 'react/jsx-pascal-case': 'off',
72
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-props-no-spread-multi.html
73
- 'react/jsx-props-no-spread-multi': 'off',
74
- // https://oxc.rs/docs/guide/usage/linter/rules/react/jsx-props-no-spreading.html
75
- 'react/jsx-props-no-spreading': 'off',
76
- // https://oxc.rs/docs/guide/usage/linter/rules/react/memo-dependencies.html
77
- 'react/memo-dependencies': 'off',
78
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-array-index-key.html
79
- 'react/no-array-index-key': 'off',
80
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-children-prop.html
81
- 'react/no-children-prop': 'off',
82
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-clone-element.html
83
- 'react/no-clone-element': 'off',
84
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-danger.html
85
- 'react/no-danger': 'off',
86
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-danger-with-children.html
87
- 'react/no-danger-with-children': 'off',
88
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-deriving-state-in-effects.html
89
- 'react/no-deriving-state-in-effects': 'off',
90
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-did-mount-set-state.html
91
- 'react/no-did-mount-set-state': 'off',
92
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-did-update-set-state.html
93
- 'react/no-did-update-set-state': 'off',
94
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-direct-mutation-state.html
95
- 'react/no-direct-mutation-state': 'off',
96
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-find-dom-node.html
97
- 'react/no-find-dom-node': 'off',
98
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-is-mounted.html
99
- 'react/no-is-mounted': 'off',
100
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-multi-comp.html
101
- 'react/no-multi-comp': 'off',
102
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-namespace.html
103
- 'react/no-namespace': 'off',
104
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-object-type-as-default-prop.html
105
- 'react/no-object-type-as-default-prop': 'off',
106
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-react-children.html
107
- 'react/no-react-children': 'off',
108
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-redundant-should-component-update.html
109
- 'react/no-redundant-should-component-update': 'off',
110
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-render-return-value.html
111
- 'react/no-render-return-value': 'off',
112
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-set-state.html
113
- 'react/no-set-state': 'off',
114
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-string-refs.html
115
- 'react/no-string-refs': 'off',
116
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-this-in-sfc.html
117
- 'react/no-this-in-sfc': 'off',
118
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-unescaped-entities.html
119
- 'react/no-unescaped-entities': 'off',
120
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-unknown-property.html
121
- 'react/no-unknown-property': 'off',
122
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-unsafe.html
123
- 'react/no-unsafe': 'off',
124
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-unstable-nested-components.html
125
- 'react/no-unstable-nested-components': 'off',
126
- // https://oxc.rs/docs/guide/usage/linter/rules/react/no-will-update-set-state.html
127
- 'react/no-will-update-set-state': 'off',
128
- // https://oxc.rs/docs/guide/usage/linter/rules/react/only-export-components.html
129
- 'react/only-export-components': 'off',
130
- // https://oxc.rs/docs/guide/usage/linter/rules/react/prefer-es6-class.html
131
- 'react/prefer-es6-class': 'off',
132
- // https://oxc.rs/docs/guide/usage/linter/rules/react/prefer-function-component.html
133
- 'react/prefer-function-component': 'off',
134
- // https://oxc.rs/docs/guide/usage/linter/rules/react/preserve-manual-memoization.html
135
- 'react/preserve-manual-memoization': 'off',
136
- // https://oxc.rs/docs/guide/usage/linter/rules/react/purity.html
137
- 'react/purity': 'off',
138
- // https://oxc.rs/docs/guide/usage/linter/rules/react/react-in-jsx-scope.html
139
- 'react/react-in-jsx-scope': 'off',
140
- // https://oxc.rs/docs/guide/usage/linter/rules/react/refs.html
141
- 'react/refs': 'off',
142
- // https://oxc.rs/docs/guide/usage/linter/rules/react/require-render-return.html
143
- 'react/require-render-return': 'off',
144
- // https://oxc.rs/docs/guide/usage/linter/rules/react/rule-suppression.html
145
- 'react/rule-suppression': 'off',
146
- // https://oxc.rs/docs/guide/usage/linter/rules/react/rules-of-hooks.html
147
- 'react/rules-of-hooks': 'off',
148
- // https://oxc.rs/docs/guide/usage/linter/rules/react/self-closing-comp.html
149
- 'react/self-closing-comp': 'off',
150
- // https://oxc.rs/docs/guide/usage/linter/rules/react/set-state-in-effect.html
151
- 'react/set-state-in-effect': 'off',
152
- // https://oxc.rs/docs/guide/usage/linter/rules/react/set-state-in-render.html
153
- 'react/set-state-in-render': 'off',
154
- // https://oxc.rs/docs/guide/usage/linter/rules/react/state-in-constructor.html
155
- 'react/state-in-constructor': 'off',
156
- // https://oxc.rs/docs/guide/usage/linter/rules/react/static-components.html
157
- 'react/static-components': 'off',
158
- // https://oxc.rs/docs/guide/usage/linter/rules/react/style-prop-object.html
159
- 'react/style-prop-object': 'off',
160
- // https://oxc.rs/docs/guide/usage/linter/rules/react/syntax.html
161
- 'react/syntax': 'off',
162
- // https://oxc.rs/docs/guide/usage/linter/rules/react/todo.html
163
- 'react/todo': 'off',
164
- // https://oxc.rs/docs/guide/usage/linter/rules/react/unsupported-syntax.html
165
- 'react/unsupported-syntax': 'off',
166
- // https://oxc.rs/docs/guide/usage/linter/rules/react/use-memo.html
167
- 'react/use-memo': 'off',
168
- // https://oxc.rs/docs/guide/usage/linter/rules/react/void-dom-elements-no-children.html
169
- 'react/void-dom-elements-no-children': 'off',
170
- // https://oxc.rs/docs/guide/usage/linter/rules/react/void-use-memo.html
171
- 'react/void-use-memo': 'off'
172
- };
173
- var react = {
174
- plugins: ['react'],
175
- rules
176
- };
177
-
178
- export { react as default };
1
+ const rules={"react/button-has-type":"off","react/capitalized-calls":"off","react/checked-requires-onchange-or-readonly":"off","react/display-name":"off","react/error-boundaries":"off","react/exhaustive-deps":"off","react/exhaustive-effect-dependencies":"off","react/forbid-component-props":"off","react/forbid-dom-props":"off","react/forbid-elements":"off","react/forward-ref-uses-ref":"off","react/function-component-definition":"off","react/globals":"off","react/hook-use-state":"off","react/hooks":"off","react/iframe-missing-sandbox":"off","react/immutability":"off","react/incompatible-library":"off","react/invariant":"off","react/jsx-boolean-value":"off","react/jsx-curly-brace-presence":"off","react/jsx-filename-extension":"off","react/jsx-fragments":"off","react/jsx-handler-names":"off","react/jsx-key":"off","react/jsx-max-depth":"off","react/jsx-no-comment-textnodes":"off","react/jsx-no-constructed-context-values":"off","react/jsx-no-duplicate-props":"off","react/jsx-no-literals":"off","react/jsx-no-script-url":"off","react/jsx-no-target-blank":"off","react/jsx-no-undef":"off","react/jsx-no-useless-fragment":"off","react/jsx-pascal-case":"off","react/jsx-props-no-spread-multi":"off","react/jsx-props-no-spreading":"off","react/memo-dependencies":"off","react/no-array-index-key":"off","react/no-children-prop":"off","react/no-clone-element":"off","react/no-danger":"off","react/no-danger-with-children":"off","react/no-deriving-state-in-effects":"off","react/no-did-mount-set-state":"off","react/no-did-update-set-state":"off","react/no-direct-mutation-state":"off","react/no-find-dom-node":"off","react/no-is-mounted":"off","react/no-multi-comp":"off","react/no-namespace":"off","react/no-object-type-as-default-prop":"off","react/no-react-children":"off","react/no-redundant-should-component-update":"off","react/no-render-return-value":"off","react/no-set-state":"off","react/no-string-refs":"off","react/no-this-in-sfc":"off","react/no-unescaped-entities":"off","react/no-unknown-property":"off","react/no-unsafe":"off","react/no-unstable-nested-components":"off","react/no-will-update-set-state":"off","react/only-export-components":"off","react/prefer-es6-class":"off","react/prefer-function-component":"off","react/preserve-manual-memoization":"off","react/purity":"off","react/react-in-jsx-scope":"off","react/refs":"off","react/require-render-return":"off","react/rule-suppression":"off","react/rules-of-hooks":"off","react/self-closing-comp":"off","react/set-state-in-effect":"off","react/set-state-in-render":"off","react/state-in-constructor":"off","react/static-components":"off","react/style-prop-object":"off","react/syntax":"off","react/todo":"off","react/unsupported-syntax":"off","react/use-memo":"off","react/void-dom-elements-no-children":"off","react/void-use-memo":"off"};var react={plugins:["react"],rules:rules};export{react as default};