@mado/oxlint 0.2.0 → 0.2.1

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