@mado/oxlint 0.0.0-stage → 0.2.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 +13 -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 +42 -0
  13. package/dist/index.d.cts +5 -0
  14. package/dist/index.d.ts +5 -0
  15. package/dist/index.js +21 -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 +77 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # @mado/oxlint
2
+
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`39b4503`](https://github.com/doinki/mado/commit/39b4503f5280ed608ca7dda37d984bc4e0a08017) Thanks [@doinki](https://github.com/doinki)! - Add the `trim/argument` and `trim/class-name` rules from `eslint-plugin-trim` to the base configuration.
8
+
9
+ ## 0.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 74946bc: Add a shared Oxlint configuration with import and code sorting rules, plus separate configuration entry points for each built-in plugin.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 doinki
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,49 @@
1
- # Temporary Holding Version
1
+ # @mado/oxlint
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Shared Oxlint configuration with import and code sorting rules.
4
+
5
+ ## Installation
6
+
7
+ ```sh
8
+ pnpm add -D oxlint @mado/oxlint
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Create an `oxlint.config.ts` file in your project root:
14
+
15
+ ```ts
16
+ import base from '@mado/oxlint';
17
+ import { defineConfig } from 'oxlint';
18
+
19
+ export default defineConfig({
20
+ extends: [base],
21
+ });
22
+ ```
23
+
24
+ Run Oxlint:
25
+
26
+ ```sh
27
+ pnpm exec oxlint .
28
+ ```
29
+
30
+ ## Plugin Configurations
31
+
32
+ Import plugin configurations separately and add them to `extends`.
33
+ Plugin configurations start with rules disabled, so enable the rules you need:
34
+
35
+ ```ts
36
+ import base from '@mado/oxlint';
37
+ import react from '@mado/oxlint/react';
38
+ import typescript from '@mado/oxlint/typescript';
39
+ import { defineConfig } from 'oxlint';
40
+
41
+ export default defineConfig({
42
+ extends: [base, typescript, react],
43
+ rules: {
44
+ 'no-debugger': 'error',
45
+ 'react/jsx-key': 'error',
46
+ 'typescript/no-explicit-any': 'warn',
47
+ },
48
+ });
49
+ ```
@@ -0,0 +1,405 @@
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/eslint.ts
21
+ var eslint_exports = {};
22
+ __export(eslint_exports, {
23
+ default: () => eslint_default
24
+ });
25
+ module.exports = __toCommonJS(eslint_exports);
26
+ var rules = {
27
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/accessor-pairs.html
28
+ "accessor-pairs": "off",
29
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/array-callback-return.html
30
+ "array-callback-return": "off",
31
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/arrow-body-style.html
32
+ "arrow-body-style": "off",
33
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/block-scoped-var.html
34
+ "block-scoped-var": "off",
35
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/capitalized-comments.html
36
+ "capitalized-comments": "off",
37
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/class-methods-use-this.html
38
+ "class-methods-use-this": "off",
39
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/complexity.html
40
+ complexity: "off",
41
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/constructor-super.html
42
+ "constructor-super": "off",
43
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/curly.html
44
+ curly: "off",
45
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/default-case.html
46
+ "default-case": "off",
47
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/default-case-last.html
48
+ "default-case-last": "off",
49
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/default-param-last.html
50
+ "default-param-last": "off",
51
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/eqeqeq.html
52
+ eqeqeq: "off",
53
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/for-direction.html
54
+ "for-direction": "off",
55
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/func-name-matching.html
56
+ "func-name-matching": "off",
57
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/func-names.html
58
+ "func-names": "off",
59
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/func-style.html
60
+ "func-style": "off",
61
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/getter-return.html
62
+ "getter-return": "off",
63
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/grouped-accessor-pairs.html
64
+ "grouped-accessor-pairs": "off",
65
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/guard-for-in.html
66
+ "guard-for-in": "off",
67
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/id-denylist.html
68
+ "id-denylist": "off",
69
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/id-length.html
70
+ "id-length": "off",
71
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/id-match.html
72
+ "id-match": "off",
73
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/init-declarations.html
74
+ "init-declarations": "off",
75
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/logical-assignment-operators.html
76
+ "logical-assignment-operators": "off",
77
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-classes-per-file.html
78
+ "max-classes-per-file": "off",
79
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-depth.html
80
+ "max-depth": "off",
81
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-lines.html
82
+ "max-lines": "off",
83
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-lines-per-function.html
84
+ "max-lines-per-function": "off",
85
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-nested-callbacks.html
86
+ "max-nested-callbacks": "off",
87
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-params.html
88
+ "max-params": "off",
89
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-statements.html
90
+ "max-statements": "off",
91
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/new-cap.html
92
+ "new-cap": "off",
93
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-alert.html
94
+ "no-alert": "off",
95
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-array-constructor.html
96
+ "no-array-constructor": "off",
97
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-async-promise-executor.html
98
+ "no-async-promise-executor": "off",
99
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-await-in-loop.html
100
+ "no-await-in-loop": "off",
101
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-bitwise.html
102
+ "no-bitwise": "off",
103
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-caller.html
104
+ "no-caller": "off",
105
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-case-declarations.html
106
+ "no-case-declarations": "off",
107
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-class-assign.html
108
+ "no-class-assign": "off",
109
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-compare-neg-zero.html
110
+ "no-compare-neg-zero": "off",
111
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-cond-assign.html
112
+ "no-cond-assign": "off",
113
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-console.html
114
+ "no-console": "off",
115
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-const-assign.html
116
+ "no-const-assign": "off",
117
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-constant-binary-expression.html
118
+ "no-constant-binary-expression": "off",
119
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-constant-condition.html
120
+ "no-constant-condition": "off",
121
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-constructor-return.html
122
+ "no-constructor-return": "off",
123
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-continue.html
124
+ "no-continue": "off",
125
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-control-regex.html
126
+ "no-control-regex": "off",
127
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-debugger.html
128
+ "no-debugger": "off",
129
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-delete-var.html
130
+ "no-delete-var": "off",
131
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-div-regex.html
132
+ "no-div-regex": "off",
133
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-dupe-class-members.html
134
+ "no-dupe-class-members": "off",
135
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-dupe-else-if.html
136
+ "no-dupe-else-if": "off",
137
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-dupe-keys.html
138
+ "no-dupe-keys": "off",
139
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-duplicate-case.html
140
+ "no-duplicate-case": "off",
141
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-duplicate-imports.html
142
+ "no-duplicate-imports": "off",
143
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-else-return.html
144
+ "no-else-return": "off",
145
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-empty.html
146
+ "no-empty": "off",
147
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-empty-character-class.html
148
+ "no-empty-character-class": "off",
149
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-empty-function.html
150
+ "no-empty-function": "off",
151
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-empty-pattern.html
152
+ "no-empty-pattern": "off",
153
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-empty-static-block.html
154
+ "no-empty-static-block": "off",
155
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-eq-null.html
156
+ "no-eq-null": "off",
157
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-eval.html
158
+ "no-eval": "off",
159
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-ex-assign.html
160
+ "no-ex-assign": "off",
161
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-extend-native.html
162
+ "no-extend-native": "off",
163
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-extra-bind.html
164
+ "no-extra-bind": "off",
165
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-extra-boolean-cast.html
166
+ "no-extra-boolean-cast": "off",
167
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-extra-label.html
168
+ "no-extra-label": "off",
169
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-fallthrough.html
170
+ "no-fallthrough": "off",
171
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-func-assign.html
172
+ "no-func-assign": "off",
173
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-global-assign.html
174
+ "no-global-assign": "off",
175
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-implicit-coercion.html
176
+ "no-implicit-coercion": "off",
177
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-implicit-globals.html
178
+ "no-implicit-globals": "off",
179
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-implied-eval.html
180
+ "no-implied-eval": "off",
181
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-import-assign.html
182
+ "no-import-assign": "off",
183
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-inline-comments.html
184
+ "no-inline-comments": "off",
185
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-inner-declarations.html
186
+ "no-inner-declarations": "off",
187
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-invalid-regexp.html
188
+ "no-invalid-regexp": "off",
189
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-irregular-whitespace.html
190
+ "no-irregular-whitespace": "off",
191
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-iterator.html
192
+ "no-iterator": "off",
193
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-label-var.html
194
+ "no-label-var": "off",
195
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-labels.html
196
+ "no-labels": "off",
197
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-lone-blocks.html
198
+ "no-lone-blocks": "off",
199
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-lonely-if.html
200
+ "no-lonely-if": "off",
201
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-loop-func.html
202
+ "no-loop-func": "off",
203
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-loss-of-precision.html
204
+ "no-loss-of-precision": "off",
205
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-magic-numbers.html
206
+ "no-magic-numbers": "off",
207
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-misleading-character-class.html
208
+ "no-misleading-character-class": "off",
209
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-multi-assign.html
210
+ "no-multi-assign": "off",
211
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-multi-str.html
212
+ "no-multi-str": "off",
213
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-negated-condition.html
214
+ "no-negated-condition": "off",
215
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-nested-ternary.html
216
+ "no-nested-ternary": "off",
217
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-new.html
218
+ "no-new": "off",
219
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-new-func.html
220
+ "no-new-func": "off",
221
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-new-native-nonconstructor.html
222
+ "no-new-native-nonconstructor": "off",
223
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-new-wrappers.html
224
+ "no-new-wrappers": "off",
225
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-nonoctal-decimal-escape.html
226
+ "no-nonoctal-decimal-escape": "off",
227
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-obj-calls.html
228
+ "no-obj-calls": "off",
229
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-object-constructor.html
230
+ "no-object-constructor": "off",
231
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-param-reassign.html
232
+ "no-param-reassign": "off",
233
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-plusplus.html
234
+ "no-plusplus": "off",
235
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-promise-executor-return.html
236
+ "no-promise-executor-return": "off",
237
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-proto.html
238
+ "no-proto": "off",
239
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-prototype-builtins.html
240
+ "no-prototype-builtins": "off",
241
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-redeclare.html
242
+ "no-redeclare": "off",
243
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-regex-spaces.html
244
+ "no-regex-spaces": "off",
245
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-restricted-exports.html
246
+ "no-restricted-exports": "off",
247
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-restricted-globals.html
248
+ "no-restricted-globals": "off",
249
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-restricted-imports.html
250
+ "no-restricted-imports": "off",
251
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-restricted-properties.html
252
+ "no-restricted-properties": "off",
253
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-return-assign.html
254
+ "no-return-assign": "off",
255
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-script-url.html
256
+ "no-script-url": "off",
257
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-self-assign.html
258
+ "no-self-assign": "off",
259
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-self-compare.html
260
+ "no-self-compare": "off",
261
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-sequences.html
262
+ "no-sequences": "off",
263
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-setter-return.html
264
+ "no-setter-return": "off",
265
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-shadow.html
266
+ "no-shadow": "off",
267
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-shadow-restricted-names.html
268
+ "no-shadow-restricted-names": "off",
269
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-sparse-arrays.html
270
+ "no-sparse-arrays": "off",
271
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-template-curly-in-string.html
272
+ "no-template-curly-in-string": "off",
273
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-ternary.html
274
+ "no-ternary": "off",
275
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-this-before-super.html
276
+ "no-this-before-super": "off",
277
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-throw-literal.html
278
+ "no-throw-literal": "off",
279
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unassigned-vars.html
280
+ "no-unassigned-vars": "off",
281
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-undef.html
282
+ "no-undef": "off",
283
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-undefined.html
284
+ "no-undefined": "off",
285
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-underscore-dangle.html
286
+ "no-underscore-dangle": "off",
287
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unexpected-multiline.html
288
+ "no-unexpected-multiline": "off",
289
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unmodified-loop-condition.html
290
+ "no-unmodified-loop-condition": "off",
291
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unneeded-ternary.html
292
+ "no-unneeded-ternary": "off",
293
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unreachable.html
294
+ "no-unreachable": "off",
295
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unreachable-loop.html
296
+ "no-unreachable-loop": "off",
297
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unsafe-finally.html
298
+ "no-unsafe-finally": "off",
299
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unsafe-negation.html
300
+ "no-unsafe-negation": "off",
301
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unsafe-optional-chaining.html
302
+ "no-unsafe-optional-chaining": "off",
303
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-expressions.html
304
+ "no-unused-expressions": "off",
305
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-labels.html
306
+ "no-unused-labels": "off",
307
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-private-class-members.html
308
+ "no-unused-private-class-members": "off",
309
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html
310
+ "no-unused-vars": "off",
311
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-use-before-define.html
312
+ "no-use-before-define": "off",
313
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-assignment.html
314
+ "no-useless-assignment": "off",
315
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-backreference.html
316
+ "no-useless-backreference": "off",
317
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-call.html
318
+ "no-useless-call": "off",
319
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-catch.html
320
+ "no-useless-catch": "off",
321
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-computed-key.html
322
+ "no-useless-computed-key": "off",
323
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-concat.html
324
+ "no-useless-concat": "off",
325
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-constructor.html
326
+ "no-useless-constructor": "off",
327
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-escape.html
328
+ "no-useless-escape": "off",
329
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-rename.html
330
+ "no-useless-rename": "off",
331
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-return.html
332
+ "no-useless-return": "off",
333
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-var.html
334
+ "no-var": "off",
335
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-void.html
336
+ "no-void": "off",
337
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-warning-comments.html
338
+ "no-warning-comments": "off",
339
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-with.html
340
+ "no-with": "off",
341
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/object-shorthand.html
342
+ "object-shorthand": "off",
343
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/one-var.html
344
+ "one-var": "off",
345
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/operator-assignment.html
346
+ "operator-assignment": "off",
347
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-arrow-callback.html
348
+ "prefer-arrow-callback": "off",
349
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-const.html
350
+ "prefer-const": "off",
351
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-destructuring.html
352
+ "prefer-destructuring": "off",
353
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-exponentiation-operator.html
354
+ "prefer-exponentiation-operator": "off",
355
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-named-capture-group.html
356
+ "prefer-named-capture-group": "off",
357
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-numeric-literals.html
358
+ "prefer-numeric-literals": "off",
359
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-object-has-own.html
360
+ "prefer-object-has-own": "off",
361
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-object-spread.html
362
+ "prefer-object-spread": "off",
363
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-promise-reject-errors.html
364
+ "prefer-promise-reject-errors": "off",
365
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-regex-literals.html
366
+ "prefer-regex-literals": "off",
367
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-rest-params.html
368
+ "prefer-rest-params": "off",
369
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-spread.html
370
+ "prefer-spread": "off",
371
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-template.html
372
+ "prefer-template": "off",
373
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/preserve-caught-error.html
374
+ "preserve-caught-error": "off",
375
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/radix.html
376
+ radix: "off",
377
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/require-await.html
378
+ "require-await": "off",
379
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/require-unicode-regexp.html
380
+ "require-unicode-regexp": "off",
381
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/require-yield.html
382
+ "require-yield": "off",
383
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/sort-imports.html
384
+ "sort-imports": "off",
385
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/sort-keys.html
386
+ "sort-keys": "off",
387
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/sort-vars.html
388
+ "sort-vars": "off",
389
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/symbol-description.html
390
+ "symbol-description": "off",
391
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/unicode-bom.html
392
+ "unicode-bom": "off",
393
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/use-isnan.html
394
+ "use-isnan": "off",
395
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/valid-typeof.html
396
+ "valid-typeof": "off",
397
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/vars-on-top.html
398
+ "vars-on-top": "off",
399
+ // https://oxc.rs/docs/guide/usage/linter/rules/eslint/yoda.html
400
+ yoda: "off"
401
+ };
402
+ var eslint_default = {
403
+ plugins: ["eslint"],
404
+ rules
405
+ };
@@ -0,0 +1,8 @@
1
+ import * as oxlint from 'oxlint';
2
+
3
+ declare const _default: {
4
+ plugins: "eslint"[];
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: "eslint"[];
5
+ rules: oxlint.DummyRuleMap;
6
+ };
7
+
8
+ export { _default as default };