@mado/oxlint 0.0.0-stage → 0.1.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.
Files changed (68) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +48 -2
  4. package/dist/eslint.cjs +405 -0
  5. package/dist/eslint.d.cts +8 -0
  6. package/dist/eslint.d.ts +8 -0
  7. package/dist/eslint.js +384 -0
  8. package/dist/import.cjs +97 -0
  9. package/dist/import.d.cts +8 -0
  10. package/dist/import.d.ts +8 -0
  11. package/dist/import.js +76 -0
  12. package/dist/index.cjs +40 -0
  13. package/dist/index.d.cts +5 -0
  14. package/dist/index.d.ts +5 -0
  15. package/dist/index.js +19 -0
  16. package/dist/jest.cjs +151 -0
  17. package/dist/jest.d.cts +8 -0
  18. package/dist/jest.d.ts +8 -0
  19. package/dist/jest.js +130 -0
  20. package/dist/jsdoc.cjs +77 -0
  21. package/dist/jsdoc.d.cts +8 -0
  22. package/dist/jsdoc.d.ts +8 -0
  23. package/dist/jsdoc.js +56 -0
  24. package/dist/jsx-a11y.cjs +103 -0
  25. package/dist/jsx-a11y.d.cts +8 -0
  26. package/dist/jsx-a11y.d.ts +8 -0
  27. package/dist/jsx-a11y.js +82 -0
  28. package/dist/nextjs.cjs +73 -0
  29. package/dist/nextjs.d.cts +8 -0
  30. package/dist/nextjs.d.ts +8 -0
  31. package/dist/nextjs.js +52 -0
  32. package/dist/node.cjs +53 -0
  33. package/dist/node.d.cts +8 -0
  34. package/dist/node.d.ts +8 -0
  35. package/dist/node.js +32 -0
  36. package/dist/oxc.cjs +85 -0
  37. package/dist/oxc.d.cts +8 -0
  38. package/dist/oxc.d.ts +8 -0
  39. package/dist/oxc.js +64 -0
  40. package/dist/promise.cjs +63 -0
  41. package/dist/promise.d.cts +8 -0
  42. package/dist/promise.d.ts +8 -0
  43. package/dist/promise.js +42 -0
  44. package/dist/react-perf.cjs +39 -0
  45. package/dist/react-perf.d.cts +8 -0
  46. package/dist/react-perf.d.ts +8 -0
  47. package/dist/react-perf.js +18 -0
  48. package/dist/react.cjs +201 -0
  49. package/dist/react.d.cts +8 -0
  50. package/dist/react.d.ts +8 -0
  51. package/dist/react.js +180 -0
  52. package/dist/typescript.cjs +253 -0
  53. package/dist/typescript.d.cts +8 -0
  54. package/dist/typescript.d.ts +8 -0
  55. package/dist/typescript.js +232 -0
  56. package/dist/unicorn.cjs +307 -0
  57. package/dist/unicorn.d.cts +8 -0
  58. package/dist/unicorn.d.ts +8 -0
  59. package/dist/unicorn.js +286 -0
  60. package/dist/vitest.cjs +177 -0
  61. package/dist/vitest.d.cts +8 -0
  62. package/dist/vitest.d.ts +8 -0
  63. package/dist/vitest.js +156 -0
  64. package/dist/vue.cjs +123 -0
  65. package/dist/vue.d.cts +8 -0
  66. package/dist/vue.d.ts +8 -0
  67. package/dist/vue.js +102 -0
  68. package/package.json +76 -3
@@ -0,0 +1,39 @@
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
+ };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "react-perf"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "react-perf"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
@@ -0,0 +1,18 @@
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
+ };
package/dist/react.cjs ADDED
@@ -0,0 +1,201 @@
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
+ };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "react"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "react"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };
package/dist/react.js ADDED
@@ -0,0 +1,180 @@
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
+ };