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