@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/CHANGELOG.md +6 -0
- package/dist/eslint.cjs +195 -214
- package/dist/eslint.js +192 -194
- package/dist/import.cjs +41 -60
- package/dist/import.js +38 -40
- package/dist/index.cjs +18 -38
- package/dist/index.js +15 -18
- package/dist/jest.cjs +68 -87
- package/dist/jest.js +65 -67
- package/dist/jsdoc.cjs +31 -50
- package/dist/jsdoc.js +28 -30
- package/dist/jsx-a11y.cjs +44 -63
- package/dist/jsx-a11y.js +41 -43
- package/dist/nextjs.cjs +29 -48
- package/dist/nextjs.js +26 -28
- package/dist/node.cjs +19 -38
- package/dist/node.js +16 -18
- package/dist/oxc.cjs +35 -54
- package/dist/oxc.js +32 -34
- package/dist/promise.cjs +24 -43
- package/dist/promise.js +21 -23
- package/dist/react-perf.cjs +12 -31
- package/dist/react-perf.js +9 -11
- package/dist/react.cjs +93 -112
- package/dist/react.js +90 -92
- package/dist/typescript.cjs +119 -138
- package/dist/typescript.js +116 -118
- package/dist/unicorn.cjs +146 -165
- package/dist/unicorn.js +143 -145
- package/dist/vitest.cjs +81 -100
- package/dist/vitest.js +78 -80
- package/dist/vue.cjs +54 -73
- package/dist/vue.js +51 -53
- package/package.json +6 -5
package/dist/eslint.cjs
CHANGED
|
@@ -1,405 +1,386 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
default: () => eslint_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(eslint_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/eslint/accessor-pairs.html
|
|
28
|
-
|
|
7
|
+
'accessor-pairs': 'off',
|
|
29
8
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/array-callback-return.html
|
|
30
|
-
|
|
9
|
+
'array-callback-return': 'off',
|
|
31
10
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/arrow-body-style.html
|
|
32
|
-
|
|
11
|
+
'arrow-body-style': 'off',
|
|
33
12
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/block-scoped-var.html
|
|
34
|
-
|
|
13
|
+
'block-scoped-var': 'off',
|
|
35
14
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/capitalized-comments.html
|
|
36
|
-
|
|
15
|
+
'capitalized-comments': 'off',
|
|
37
16
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/class-methods-use-this.html
|
|
38
|
-
|
|
17
|
+
'class-methods-use-this': 'off',
|
|
39
18
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/complexity.html
|
|
40
|
-
complexity:
|
|
19
|
+
complexity: 'off',
|
|
41
20
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/constructor-super.html
|
|
42
|
-
|
|
21
|
+
'constructor-super': 'off',
|
|
43
22
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/curly.html
|
|
44
|
-
curly:
|
|
23
|
+
curly: 'off',
|
|
45
24
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/default-case.html
|
|
46
|
-
|
|
25
|
+
'default-case': 'off',
|
|
47
26
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/default-case-last.html
|
|
48
|
-
|
|
27
|
+
'default-case-last': 'off',
|
|
49
28
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/default-param-last.html
|
|
50
|
-
|
|
29
|
+
'default-param-last': 'off',
|
|
51
30
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/eqeqeq.html
|
|
52
|
-
eqeqeq:
|
|
31
|
+
eqeqeq: 'off',
|
|
53
32
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/for-direction.html
|
|
54
|
-
|
|
33
|
+
'for-direction': 'off',
|
|
55
34
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/func-name-matching.html
|
|
56
|
-
|
|
35
|
+
'func-name-matching': 'off',
|
|
57
36
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/func-names.html
|
|
58
|
-
|
|
37
|
+
'func-names': 'off',
|
|
59
38
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/func-style.html
|
|
60
|
-
|
|
39
|
+
'func-style': 'off',
|
|
61
40
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/getter-return.html
|
|
62
|
-
|
|
41
|
+
'getter-return': 'off',
|
|
63
42
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/grouped-accessor-pairs.html
|
|
64
|
-
|
|
43
|
+
'grouped-accessor-pairs': 'off',
|
|
65
44
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/guard-for-in.html
|
|
66
|
-
|
|
45
|
+
'guard-for-in': 'off',
|
|
67
46
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/id-denylist.html
|
|
68
|
-
|
|
47
|
+
'id-denylist': 'off',
|
|
69
48
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/id-length.html
|
|
70
|
-
|
|
49
|
+
'id-length': 'off',
|
|
71
50
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/id-match.html
|
|
72
|
-
|
|
51
|
+
'id-match': 'off',
|
|
73
52
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/init-declarations.html
|
|
74
|
-
|
|
53
|
+
'init-declarations': 'off',
|
|
75
54
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/logical-assignment-operators.html
|
|
76
|
-
|
|
55
|
+
'logical-assignment-operators': 'off',
|
|
77
56
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-classes-per-file.html
|
|
78
|
-
|
|
57
|
+
'max-classes-per-file': 'off',
|
|
79
58
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-depth.html
|
|
80
|
-
|
|
59
|
+
'max-depth': 'off',
|
|
81
60
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-lines.html
|
|
82
|
-
|
|
61
|
+
'max-lines': 'off',
|
|
83
62
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-lines-per-function.html
|
|
84
|
-
|
|
63
|
+
'max-lines-per-function': 'off',
|
|
85
64
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-nested-callbacks.html
|
|
86
|
-
|
|
65
|
+
'max-nested-callbacks': 'off',
|
|
87
66
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-params.html
|
|
88
|
-
|
|
67
|
+
'max-params': 'off',
|
|
89
68
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/max-statements.html
|
|
90
|
-
|
|
69
|
+
'max-statements': 'off',
|
|
91
70
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/new-cap.html
|
|
92
|
-
|
|
71
|
+
'new-cap': 'off',
|
|
93
72
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-alert.html
|
|
94
|
-
|
|
73
|
+
'no-alert': 'off',
|
|
95
74
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-array-constructor.html
|
|
96
|
-
|
|
75
|
+
'no-array-constructor': 'off',
|
|
97
76
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-async-promise-executor.html
|
|
98
|
-
|
|
77
|
+
'no-async-promise-executor': 'off',
|
|
99
78
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-await-in-loop.html
|
|
100
|
-
|
|
79
|
+
'no-await-in-loop': 'off',
|
|
101
80
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-bitwise.html
|
|
102
|
-
|
|
81
|
+
'no-bitwise': 'off',
|
|
103
82
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-caller.html
|
|
104
|
-
|
|
83
|
+
'no-caller': 'off',
|
|
105
84
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-case-declarations.html
|
|
106
|
-
|
|
85
|
+
'no-case-declarations': 'off',
|
|
107
86
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-class-assign.html
|
|
108
|
-
|
|
87
|
+
'no-class-assign': 'off',
|
|
109
88
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-compare-neg-zero.html
|
|
110
|
-
|
|
89
|
+
'no-compare-neg-zero': 'off',
|
|
111
90
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-cond-assign.html
|
|
112
|
-
|
|
91
|
+
'no-cond-assign': 'off',
|
|
113
92
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-console.html
|
|
114
|
-
|
|
93
|
+
'no-console': 'off',
|
|
115
94
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-const-assign.html
|
|
116
|
-
|
|
95
|
+
'no-const-assign': 'off',
|
|
117
96
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-constant-binary-expression.html
|
|
118
|
-
|
|
97
|
+
'no-constant-binary-expression': 'off',
|
|
119
98
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-constant-condition.html
|
|
120
|
-
|
|
99
|
+
'no-constant-condition': 'off',
|
|
121
100
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-constructor-return.html
|
|
122
|
-
|
|
101
|
+
'no-constructor-return': 'off',
|
|
123
102
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-continue.html
|
|
124
|
-
|
|
103
|
+
'no-continue': 'off',
|
|
125
104
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-control-regex.html
|
|
126
|
-
|
|
105
|
+
'no-control-regex': 'off',
|
|
127
106
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-debugger.html
|
|
128
|
-
|
|
107
|
+
'no-debugger': 'off',
|
|
129
108
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-delete-var.html
|
|
130
|
-
|
|
109
|
+
'no-delete-var': 'off',
|
|
131
110
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-div-regex.html
|
|
132
|
-
|
|
111
|
+
'no-div-regex': 'off',
|
|
133
112
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-dupe-class-members.html
|
|
134
|
-
|
|
113
|
+
'no-dupe-class-members': 'off',
|
|
135
114
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-dupe-else-if.html
|
|
136
|
-
|
|
115
|
+
'no-dupe-else-if': 'off',
|
|
137
116
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-dupe-keys.html
|
|
138
|
-
|
|
117
|
+
'no-dupe-keys': 'off',
|
|
139
118
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-duplicate-case.html
|
|
140
|
-
|
|
119
|
+
'no-duplicate-case': 'off',
|
|
141
120
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-duplicate-imports.html
|
|
142
|
-
|
|
121
|
+
'no-duplicate-imports': 'off',
|
|
143
122
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-else-return.html
|
|
144
|
-
|
|
123
|
+
'no-else-return': 'off',
|
|
145
124
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-empty.html
|
|
146
|
-
|
|
125
|
+
'no-empty': 'off',
|
|
147
126
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-empty-character-class.html
|
|
148
|
-
|
|
127
|
+
'no-empty-character-class': 'off',
|
|
149
128
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-empty-function.html
|
|
150
|
-
|
|
129
|
+
'no-empty-function': 'off',
|
|
151
130
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-empty-pattern.html
|
|
152
|
-
|
|
131
|
+
'no-empty-pattern': 'off',
|
|
153
132
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-empty-static-block.html
|
|
154
|
-
|
|
133
|
+
'no-empty-static-block': 'off',
|
|
155
134
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-eq-null.html
|
|
156
|
-
|
|
135
|
+
'no-eq-null': 'off',
|
|
157
136
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-eval.html
|
|
158
|
-
|
|
137
|
+
'no-eval': 'off',
|
|
159
138
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-ex-assign.html
|
|
160
|
-
|
|
139
|
+
'no-ex-assign': 'off',
|
|
161
140
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-extend-native.html
|
|
162
|
-
|
|
141
|
+
'no-extend-native': 'off',
|
|
163
142
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-extra-bind.html
|
|
164
|
-
|
|
143
|
+
'no-extra-bind': 'off',
|
|
165
144
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-extra-boolean-cast.html
|
|
166
|
-
|
|
145
|
+
'no-extra-boolean-cast': 'off',
|
|
167
146
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-extra-label.html
|
|
168
|
-
|
|
147
|
+
'no-extra-label': 'off',
|
|
169
148
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-fallthrough.html
|
|
170
|
-
|
|
149
|
+
'no-fallthrough': 'off',
|
|
171
150
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-func-assign.html
|
|
172
|
-
|
|
151
|
+
'no-func-assign': 'off',
|
|
173
152
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-global-assign.html
|
|
174
|
-
|
|
153
|
+
'no-global-assign': 'off',
|
|
175
154
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-implicit-coercion.html
|
|
176
|
-
|
|
155
|
+
'no-implicit-coercion': 'off',
|
|
177
156
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-implicit-globals.html
|
|
178
|
-
|
|
157
|
+
'no-implicit-globals': 'off',
|
|
179
158
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-implied-eval.html
|
|
180
|
-
|
|
159
|
+
'no-implied-eval': 'off',
|
|
181
160
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-import-assign.html
|
|
182
|
-
|
|
161
|
+
'no-import-assign': 'off',
|
|
183
162
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-inline-comments.html
|
|
184
|
-
|
|
163
|
+
'no-inline-comments': 'off',
|
|
185
164
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-inner-declarations.html
|
|
186
|
-
|
|
165
|
+
'no-inner-declarations': 'off',
|
|
187
166
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-invalid-regexp.html
|
|
188
|
-
|
|
167
|
+
'no-invalid-regexp': 'off',
|
|
189
168
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-irregular-whitespace.html
|
|
190
|
-
|
|
169
|
+
'no-irregular-whitespace': 'off',
|
|
191
170
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-iterator.html
|
|
192
|
-
|
|
171
|
+
'no-iterator': 'off',
|
|
193
172
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-label-var.html
|
|
194
|
-
|
|
173
|
+
'no-label-var': 'off',
|
|
195
174
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-labels.html
|
|
196
|
-
|
|
175
|
+
'no-labels': 'off',
|
|
197
176
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-lone-blocks.html
|
|
198
|
-
|
|
177
|
+
'no-lone-blocks': 'off',
|
|
199
178
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-lonely-if.html
|
|
200
|
-
|
|
179
|
+
'no-lonely-if': 'off',
|
|
201
180
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-loop-func.html
|
|
202
|
-
|
|
181
|
+
'no-loop-func': 'off',
|
|
203
182
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-loss-of-precision.html
|
|
204
|
-
|
|
183
|
+
'no-loss-of-precision': 'off',
|
|
205
184
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-magic-numbers.html
|
|
206
|
-
|
|
185
|
+
'no-magic-numbers': 'off',
|
|
207
186
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-misleading-character-class.html
|
|
208
|
-
|
|
187
|
+
'no-misleading-character-class': 'off',
|
|
209
188
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-multi-assign.html
|
|
210
|
-
|
|
189
|
+
'no-multi-assign': 'off',
|
|
211
190
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-multi-str.html
|
|
212
|
-
|
|
191
|
+
'no-multi-str': 'off',
|
|
213
192
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-negated-condition.html
|
|
214
|
-
|
|
193
|
+
'no-negated-condition': 'off',
|
|
215
194
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-nested-ternary.html
|
|
216
|
-
|
|
195
|
+
'no-nested-ternary': 'off',
|
|
217
196
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-new.html
|
|
218
|
-
|
|
197
|
+
'no-new': 'off',
|
|
219
198
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-new-func.html
|
|
220
|
-
|
|
199
|
+
'no-new-func': 'off',
|
|
221
200
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-new-native-nonconstructor.html
|
|
222
|
-
|
|
201
|
+
'no-new-native-nonconstructor': 'off',
|
|
223
202
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-new-wrappers.html
|
|
224
|
-
|
|
203
|
+
'no-new-wrappers': 'off',
|
|
225
204
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-nonoctal-decimal-escape.html
|
|
226
|
-
|
|
205
|
+
'no-nonoctal-decimal-escape': 'off',
|
|
227
206
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-obj-calls.html
|
|
228
|
-
|
|
207
|
+
'no-obj-calls': 'off',
|
|
229
208
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-object-constructor.html
|
|
230
|
-
|
|
209
|
+
'no-object-constructor': 'off',
|
|
231
210
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-param-reassign.html
|
|
232
|
-
|
|
211
|
+
'no-param-reassign': 'off',
|
|
233
212
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-plusplus.html
|
|
234
|
-
|
|
213
|
+
'no-plusplus': 'off',
|
|
235
214
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-promise-executor-return.html
|
|
236
|
-
|
|
215
|
+
'no-promise-executor-return': 'off',
|
|
237
216
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-proto.html
|
|
238
|
-
|
|
217
|
+
'no-proto': 'off',
|
|
239
218
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-prototype-builtins.html
|
|
240
|
-
|
|
219
|
+
'no-prototype-builtins': 'off',
|
|
241
220
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-redeclare.html
|
|
242
|
-
|
|
221
|
+
'no-redeclare': 'off',
|
|
243
222
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-regex-spaces.html
|
|
244
|
-
|
|
223
|
+
'no-regex-spaces': 'off',
|
|
245
224
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-restricted-exports.html
|
|
246
|
-
|
|
225
|
+
'no-restricted-exports': 'off',
|
|
247
226
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-restricted-globals.html
|
|
248
|
-
|
|
227
|
+
'no-restricted-globals': 'off',
|
|
249
228
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-restricted-imports.html
|
|
250
|
-
|
|
229
|
+
'no-restricted-imports': 'off',
|
|
251
230
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-restricted-properties.html
|
|
252
|
-
|
|
231
|
+
'no-restricted-properties': 'off',
|
|
253
232
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-return-assign.html
|
|
254
|
-
|
|
233
|
+
'no-return-assign': 'off',
|
|
255
234
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-script-url.html
|
|
256
|
-
|
|
235
|
+
'no-script-url': 'off',
|
|
257
236
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-self-assign.html
|
|
258
|
-
|
|
237
|
+
'no-self-assign': 'off',
|
|
259
238
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-self-compare.html
|
|
260
|
-
|
|
239
|
+
'no-self-compare': 'off',
|
|
261
240
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-sequences.html
|
|
262
|
-
|
|
241
|
+
'no-sequences': 'off',
|
|
263
242
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-setter-return.html
|
|
264
|
-
|
|
243
|
+
'no-setter-return': 'off',
|
|
265
244
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-shadow.html
|
|
266
|
-
|
|
245
|
+
'no-shadow': 'off',
|
|
267
246
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-shadow-restricted-names.html
|
|
268
|
-
|
|
247
|
+
'no-shadow-restricted-names': 'off',
|
|
269
248
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-sparse-arrays.html
|
|
270
|
-
|
|
249
|
+
'no-sparse-arrays': 'off',
|
|
271
250
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-template-curly-in-string.html
|
|
272
|
-
|
|
251
|
+
'no-template-curly-in-string': 'off',
|
|
273
252
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-ternary.html
|
|
274
|
-
|
|
253
|
+
'no-ternary': 'off',
|
|
275
254
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-this-before-super.html
|
|
276
|
-
|
|
255
|
+
'no-this-before-super': 'off',
|
|
277
256
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-throw-literal.html
|
|
278
|
-
|
|
257
|
+
'no-throw-literal': 'off',
|
|
279
258
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unassigned-vars.html
|
|
280
|
-
|
|
259
|
+
'no-unassigned-vars': 'off',
|
|
281
260
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-undef.html
|
|
282
|
-
|
|
261
|
+
'no-undef': 'off',
|
|
283
262
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-undefined.html
|
|
284
|
-
|
|
263
|
+
'no-undefined': 'off',
|
|
285
264
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-underscore-dangle.html
|
|
286
|
-
|
|
265
|
+
'no-underscore-dangle': 'off',
|
|
287
266
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unexpected-multiline.html
|
|
288
|
-
|
|
267
|
+
'no-unexpected-multiline': 'off',
|
|
289
268
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unmodified-loop-condition.html
|
|
290
|
-
|
|
269
|
+
'no-unmodified-loop-condition': 'off',
|
|
291
270
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unneeded-ternary.html
|
|
292
|
-
|
|
271
|
+
'no-unneeded-ternary': 'off',
|
|
293
272
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unreachable.html
|
|
294
|
-
|
|
273
|
+
'no-unreachable': 'off',
|
|
295
274
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unreachable-loop.html
|
|
296
|
-
|
|
275
|
+
'no-unreachable-loop': 'off',
|
|
297
276
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unsafe-finally.html
|
|
298
|
-
|
|
277
|
+
'no-unsafe-finally': 'off',
|
|
299
278
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unsafe-negation.html
|
|
300
|
-
|
|
279
|
+
'no-unsafe-negation': 'off',
|
|
301
280
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unsafe-optional-chaining.html
|
|
302
|
-
|
|
281
|
+
'no-unsafe-optional-chaining': 'off',
|
|
303
282
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-expressions.html
|
|
304
|
-
|
|
283
|
+
'no-unused-expressions': 'off',
|
|
305
284
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-labels.html
|
|
306
|
-
|
|
285
|
+
'no-unused-labels': 'off',
|
|
307
286
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-private-class-members.html
|
|
308
|
-
|
|
287
|
+
'no-unused-private-class-members': 'off',
|
|
309
288
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-unused-vars.html
|
|
310
|
-
|
|
289
|
+
'no-unused-vars': 'off',
|
|
311
290
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-use-before-define.html
|
|
312
|
-
|
|
291
|
+
'no-use-before-define': 'off',
|
|
313
292
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-assignment.html
|
|
314
|
-
|
|
293
|
+
'no-useless-assignment': 'off',
|
|
315
294
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-backreference.html
|
|
316
|
-
|
|
295
|
+
'no-useless-backreference': 'off',
|
|
317
296
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-call.html
|
|
318
|
-
|
|
297
|
+
'no-useless-call': 'off',
|
|
319
298
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-catch.html
|
|
320
|
-
|
|
299
|
+
'no-useless-catch': 'off',
|
|
321
300
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-computed-key.html
|
|
322
|
-
|
|
301
|
+
'no-useless-computed-key': 'off',
|
|
323
302
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-concat.html
|
|
324
|
-
|
|
303
|
+
'no-useless-concat': 'off',
|
|
325
304
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-constructor.html
|
|
326
|
-
|
|
305
|
+
'no-useless-constructor': 'off',
|
|
327
306
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-escape.html
|
|
328
|
-
|
|
307
|
+
'no-useless-escape': 'off',
|
|
329
308
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-rename.html
|
|
330
|
-
|
|
309
|
+
'no-useless-rename': 'off',
|
|
331
310
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-useless-return.html
|
|
332
|
-
|
|
311
|
+
'no-useless-return': 'off',
|
|
333
312
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-var.html
|
|
334
|
-
|
|
313
|
+
'no-var': 'off',
|
|
335
314
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-void.html
|
|
336
|
-
|
|
315
|
+
'no-void': 'off',
|
|
337
316
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-warning-comments.html
|
|
338
|
-
|
|
317
|
+
'no-warning-comments': 'off',
|
|
339
318
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/no-with.html
|
|
340
|
-
|
|
319
|
+
'no-with': 'off',
|
|
341
320
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/object-shorthand.html
|
|
342
|
-
|
|
321
|
+
'object-shorthand': 'off',
|
|
343
322
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/one-var.html
|
|
344
|
-
|
|
323
|
+
'one-var': 'off',
|
|
345
324
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/operator-assignment.html
|
|
346
|
-
|
|
325
|
+
'operator-assignment': 'off',
|
|
347
326
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-arrow-callback.html
|
|
348
|
-
|
|
327
|
+
'prefer-arrow-callback': 'off',
|
|
349
328
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-const.html
|
|
350
|
-
|
|
329
|
+
'prefer-const': 'off',
|
|
351
330
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-destructuring.html
|
|
352
|
-
|
|
331
|
+
'prefer-destructuring': 'off',
|
|
353
332
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-exponentiation-operator.html
|
|
354
|
-
|
|
333
|
+
'prefer-exponentiation-operator': 'off',
|
|
355
334
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-named-capture-group.html
|
|
356
|
-
|
|
335
|
+
'prefer-named-capture-group': 'off',
|
|
357
336
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-numeric-literals.html
|
|
358
|
-
|
|
337
|
+
'prefer-numeric-literals': 'off',
|
|
359
338
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-object-has-own.html
|
|
360
|
-
|
|
339
|
+
'prefer-object-has-own': 'off',
|
|
361
340
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-object-spread.html
|
|
362
|
-
|
|
341
|
+
'prefer-object-spread': 'off',
|
|
363
342
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-promise-reject-errors.html
|
|
364
|
-
|
|
343
|
+
'prefer-promise-reject-errors': 'off',
|
|
365
344
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-regex-literals.html
|
|
366
|
-
|
|
345
|
+
'prefer-regex-literals': 'off',
|
|
367
346
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-rest-params.html
|
|
368
|
-
|
|
347
|
+
'prefer-rest-params': 'off',
|
|
369
348
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-spread.html
|
|
370
|
-
|
|
349
|
+
'prefer-spread': 'off',
|
|
371
350
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/prefer-template.html
|
|
372
|
-
|
|
351
|
+
'prefer-template': 'off',
|
|
373
352
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/preserve-caught-error.html
|
|
374
|
-
|
|
353
|
+
'preserve-caught-error': 'off',
|
|
375
354
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/radix.html
|
|
376
|
-
radix:
|
|
355
|
+
radix: 'off',
|
|
377
356
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/require-await.html
|
|
378
|
-
|
|
357
|
+
'require-await': 'off',
|
|
379
358
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/require-unicode-regexp.html
|
|
380
|
-
|
|
359
|
+
'require-unicode-regexp': 'off',
|
|
381
360
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/require-yield.html
|
|
382
|
-
|
|
361
|
+
'require-yield': 'off',
|
|
383
362
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/sort-imports.html
|
|
384
|
-
|
|
363
|
+
'sort-imports': 'off',
|
|
385
364
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/sort-keys.html
|
|
386
|
-
|
|
365
|
+
'sort-keys': 'off',
|
|
387
366
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/sort-vars.html
|
|
388
|
-
|
|
367
|
+
'sort-vars': 'off',
|
|
389
368
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/symbol-description.html
|
|
390
|
-
|
|
369
|
+
'symbol-description': 'off',
|
|
391
370
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/unicode-bom.html
|
|
392
|
-
|
|
371
|
+
'unicode-bom': 'off',
|
|
393
372
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/use-isnan.html
|
|
394
|
-
|
|
373
|
+
'use-isnan': 'off',
|
|
395
374
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/valid-typeof.html
|
|
396
|
-
|
|
375
|
+
'valid-typeof': 'off',
|
|
397
376
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/vars-on-top.html
|
|
398
|
-
|
|
377
|
+
'vars-on-top': 'off',
|
|
399
378
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/yoda.html
|
|
400
|
-
yoda:
|
|
379
|
+
yoda: 'off'
|
|
401
380
|
};
|
|
402
|
-
var
|
|
403
|
-
plugins: [
|
|
381
|
+
var eslint = {
|
|
382
|
+
plugins: ['eslint'],
|
|
404
383
|
rules
|
|
405
384
|
};
|
|
385
|
+
|
|
386
|
+
exports.default = eslint;
|