@mado/oxlint 0.1.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 +12 -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 -36
- package/dist/index.js +15 -16
- 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 +9 -7
package/dist/unicorn.cjs
CHANGED
|
@@ -1,307 +1,288 @@
|
|
|
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: () => unicorn_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(unicorn_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/unicorn/catch-error-name.html
|
|
28
|
-
|
|
7
|
+
'unicorn/catch-error-name': 'off',
|
|
29
8
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-assert.html
|
|
30
|
-
|
|
9
|
+
'unicorn/consistent-assert': 'off',
|
|
31
10
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-date-clone.html
|
|
32
|
-
|
|
11
|
+
'unicorn/consistent-date-clone': 'off',
|
|
33
12
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-empty-array-spread.html
|
|
34
|
-
|
|
13
|
+
'unicorn/consistent-empty-array-spread': 'off',
|
|
35
14
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-existence-index-check.html
|
|
36
|
-
|
|
15
|
+
'unicorn/consistent-existence-index-check': 'off',
|
|
37
16
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-function-scoping.html
|
|
38
|
-
|
|
17
|
+
'unicorn/consistent-function-scoping': 'off',
|
|
39
18
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-template-literal-escape.html
|
|
40
|
-
|
|
19
|
+
'unicorn/consistent-template-literal-escape': 'off',
|
|
41
20
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/custom-error-definition.html
|
|
42
|
-
|
|
21
|
+
'unicorn/custom-error-definition': 'off',
|
|
43
22
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/empty-brace-spaces.html
|
|
44
|
-
|
|
23
|
+
'unicorn/empty-brace-spaces': 'off',
|
|
45
24
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/error-message.html
|
|
46
|
-
|
|
25
|
+
'unicorn/error-message': 'off',
|
|
47
26
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/escape-case.html
|
|
48
|
-
|
|
27
|
+
'unicorn/escape-case': 'off',
|
|
49
28
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/explicit-length-check.html
|
|
50
|
-
|
|
29
|
+
'unicorn/explicit-length-check': 'off',
|
|
51
30
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/explicit-timer-delay.html
|
|
52
|
-
|
|
31
|
+
'unicorn/explicit-timer-delay': 'off',
|
|
53
32
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/filename-case.html
|
|
54
|
-
|
|
33
|
+
'unicorn/filename-case': 'off',
|
|
55
34
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/import-style.html
|
|
56
|
-
|
|
35
|
+
'unicorn/import-style': 'off',
|
|
57
36
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/max-nested-calls.html
|
|
58
|
-
|
|
37
|
+
'unicorn/max-nested-calls': 'off',
|
|
59
38
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/new-for-builtins.html
|
|
60
|
-
|
|
39
|
+
'unicorn/new-for-builtins': 'off',
|
|
61
40
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-abusive-eslint-disable.html
|
|
62
|
-
|
|
41
|
+
'unicorn/no-abusive-eslint-disable': 'off',
|
|
63
42
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-accessor-recursion.html
|
|
64
|
-
|
|
43
|
+
'unicorn/no-accessor-recursion': 'off',
|
|
65
44
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-anonymous-default-export.html
|
|
66
|
-
|
|
45
|
+
'unicorn/no-anonymous-default-export': 'off',
|
|
67
46
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-callback-reference.html
|
|
68
|
-
|
|
47
|
+
'unicorn/no-array-callback-reference': 'off',
|
|
69
48
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-fill-with-reference-type.html
|
|
70
|
-
|
|
49
|
+
'unicorn/no-array-fill-with-reference-type': 'off',
|
|
71
50
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-for-each.html
|
|
72
|
-
|
|
51
|
+
'unicorn/no-array-for-each': 'off',
|
|
73
52
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-method-this-argument.html
|
|
74
|
-
|
|
53
|
+
'unicorn/no-array-method-this-argument': 'off',
|
|
75
54
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-reduce.html
|
|
76
|
-
|
|
55
|
+
'unicorn/no-array-reduce': 'off',
|
|
77
56
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-reverse.html
|
|
78
|
-
|
|
57
|
+
'unicorn/no-array-reverse': 'off',
|
|
79
58
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-array-sort.html
|
|
80
|
-
|
|
59
|
+
'unicorn/no-array-sort': 'off',
|
|
81
60
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-await-expression-member.html
|
|
82
|
-
|
|
61
|
+
'unicorn/no-await-expression-member': 'off',
|
|
83
62
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-await-in-promise-methods.html
|
|
84
|
-
|
|
63
|
+
'unicorn/no-await-in-promise-methods': 'off',
|
|
85
64
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-confusing-array-with.html
|
|
86
|
-
|
|
65
|
+
'unicorn/no-confusing-array-with': 'off',
|
|
87
66
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-console-spaces.html
|
|
88
|
-
|
|
67
|
+
'unicorn/no-console-spaces': 'off',
|
|
89
68
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-document-cookie.html
|
|
90
|
-
|
|
69
|
+
'unicorn/no-document-cookie': 'off',
|
|
91
70
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-empty-file.html
|
|
92
|
-
|
|
71
|
+
'unicorn/no-empty-file': 'off',
|
|
93
72
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-hex-escape.html
|
|
94
|
-
|
|
73
|
+
'unicorn/no-hex-escape': 'off',
|
|
95
74
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-immediate-mutation.html
|
|
96
|
-
|
|
75
|
+
'unicorn/no-immediate-mutation': 'off',
|
|
97
76
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-instanceof-array.html
|
|
98
|
-
|
|
77
|
+
'unicorn/no-instanceof-array': 'off',
|
|
99
78
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-instanceof-builtins.html
|
|
100
|
-
|
|
79
|
+
'unicorn/no-instanceof-builtins': 'off',
|
|
101
80
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-invalid-fetch-options.html
|
|
102
|
-
|
|
81
|
+
'unicorn/no-invalid-fetch-options': 'off',
|
|
103
82
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-invalid-remove-event-listener.html
|
|
104
|
-
|
|
83
|
+
'unicorn/no-invalid-remove-event-listener': 'off',
|
|
105
84
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-length-as-slice-end.html
|
|
106
|
-
|
|
85
|
+
'unicorn/no-length-as-slice-end': 'off',
|
|
107
86
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-lonely-if.html
|
|
108
|
-
|
|
87
|
+
'unicorn/no-lonely-if': 'off',
|
|
109
88
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-magic-array-flat-depth.html
|
|
110
|
-
|
|
89
|
+
'unicorn/no-magic-array-flat-depth': 'off',
|
|
111
90
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-negated-condition.html
|
|
112
|
-
|
|
91
|
+
'unicorn/no-negated-condition': 'off',
|
|
113
92
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-negation-in-equality-check.html
|
|
114
|
-
|
|
93
|
+
'unicorn/no-negation-in-equality-check': 'off',
|
|
115
94
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-nested-ternary.html
|
|
116
|
-
|
|
95
|
+
'unicorn/no-nested-ternary': 'off',
|
|
117
96
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-new-array.html
|
|
118
|
-
|
|
97
|
+
'unicorn/no-new-array': 'off',
|
|
119
98
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-new-buffer.html
|
|
120
|
-
|
|
99
|
+
'unicorn/no-new-buffer': 'off',
|
|
121
100
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-null.html
|
|
122
|
-
|
|
101
|
+
'unicorn/no-null': 'off',
|
|
123
102
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-object-as-default-parameter.html
|
|
124
|
-
|
|
103
|
+
'unicorn/no-object-as-default-parameter': 'off',
|
|
125
104
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-process-exit.html
|
|
126
|
-
|
|
105
|
+
'unicorn/no-process-exit': 'off',
|
|
127
106
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-single-promise-in-promise-methods.html
|
|
128
|
-
|
|
107
|
+
'unicorn/no-single-promise-in-promise-methods': 'off',
|
|
129
108
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-static-only-class.html
|
|
130
|
-
|
|
109
|
+
'unicorn/no-static-only-class': 'off',
|
|
131
110
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-thenable.html
|
|
132
|
-
|
|
111
|
+
'unicorn/no-thenable': 'off',
|
|
133
112
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-this-assignment.html
|
|
134
|
-
|
|
113
|
+
'unicorn/no-this-assignment': 'off',
|
|
135
114
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-typeof-undefined.html
|
|
136
|
-
|
|
115
|
+
'unicorn/no-typeof-undefined': 'off',
|
|
137
116
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unnecessary-array-flat-depth.html
|
|
138
|
-
|
|
117
|
+
'unicorn/no-unnecessary-array-flat-depth': 'off',
|
|
139
118
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unnecessary-array-splice-count.html
|
|
140
|
-
|
|
119
|
+
'unicorn/no-unnecessary-array-splice-count': 'off',
|
|
141
120
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unnecessary-await.html
|
|
142
|
-
|
|
121
|
+
'unicorn/no-unnecessary-await': 'off',
|
|
143
122
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unnecessary-slice-end.html
|
|
144
|
-
|
|
123
|
+
'unicorn/no-unnecessary-slice-end': 'off',
|
|
145
124
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unreadable-array-destructuring.html
|
|
146
|
-
|
|
125
|
+
'unicorn/no-unreadable-array-destructuring': 'off',
|
|
147
126
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-unreadable-iife.html
|
|
148
|
-
|
|
127
|
+
'unicorn/no-unreadable-iife': 'off',
|
|
149
128
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-collection-argument.html
|
|
150
|
-
|
|
129
|
+
'unicorn/no-useless-collection-argument': 'off',
|
|
151
130
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-error-capture-stack-trace.html
|
|
152
|
-
|
|
131
|
+
'unicorn/no-useless-error-capture-stack-trace': 'off',
|
|
153
132
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-fallback-in-spread.html
|
|
154
|
-
|
|
133
|
+
'unicorn/no-useless-fallback-in-spread': 'off',
|
|
155
134
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-iterator-to-array.html
|
|
156
|
-
|
|
135
|
+
'unicorn/no-useless-iterator-to-array': 'off',
|
|
157
136
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-length-check.html
|
|
158
|
-
|
|
137
|
+
'unicorn/no-useless-length-check': 'off',
|
|
159
138
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-promise-resolve-reject.html
|
|
160
|
-
|
|
139
|
+
'unicorn/no-useless-promise-resolve-reject': 'off',
|
|
161
140
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-spread.html
|
|
162
|
-
|
|
141
|
+
'unicorn/no-useless-spread': 'off',
|
|
163
142
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-switch-case.html
|
|
164
|
-
|
|
143
|
+
'unicorn/no-useless-switch-case': 'off',
|
|
165
144
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-useless-undefined.html
|
|
166
|
-
|
|
145
|
+
'unicorn/no-useless-undefined': 'off',
|
|
167
146
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/no-zero-fractions.html
|
|
168
|
-
|
|
147
|
+
'unicorn/no-zero-fractions': 'off',
|
|
169
148
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/number-literal-case.html
|
|
170
|
-
|
|
149
|
+
'unicorn/number-literal-case': 'off',
|
|
171
150
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/numeric-separators-style.html
|
|
172
|
-
|
|
151
|
+
'unicorn/numeric-separators-style': 'off',
|
|
173
152
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-add-event-listener.html
|
|
174
|
-
|
|
153
|
+
'unicorn/prefer-add-event-listener': 'off',
|
|
175
154
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-array-find.html
|
|
176
|
-
|
|
155
|
+
'unicorn/prefer-array-find': 'off',
|
|
177
156
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-array-flat.html
|
|
178
|
-
|
|
157
|
+
'unicorn/prefer-array-flat': 'off',
|
|
179
158
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-array-flat-map.html
|
|
180
|
-
|
|
159
|
+
'unicorn/prefer-array-flat-map': 'off',
|
|
181
160
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-array-index-of.html
|
|
182
|
-
|
|
161
|
+
'unicorn/prefer-array-index-of': 'off',
|
|
183
162
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-array-some.html
|
|
184
|
-
|
|
163
|
+
'unicorn/prefer-array-some': 'off',
|
|
185
164
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-at.html
|
|
186
|
-
|
|
165
|
+
'unicorn/prefer-at': 'off',
|
|
187
166
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-bigint-literals.html
|
|
188
|
-
|
|
167
|
+
'unicorn/prefer-bigint-literals': 'off',
|
|
189
168
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-blob-reading-methods.html
|
|
190
|
-
|
|
169
|
+
'unicorn/prefer-blob-reading-methods': 'off',
|
|
191
170
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-class-fields.html
|
|
192
|
-
|
|
171
|
+
'unicorn/prefer-class-fields': 'off',
|
|
193
172
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-classlist-toggle.html
|
|
194
|
-
|
|
173
|
+
'unicorn/prefer-classlist-toggle': 'off',
|
|
195
174
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-code-point.html
|
|
196
|
-
|
|
175
|
+
'unicorn/prefer-code-point': 'off',
|
|
197
176
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-date-now.html
|
|
198
|
-
|
|
177
|
+
'unicorn/prefer-date-now': 'off',
|
|
199
178
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-default-parameters.html
|
|
200
|
-
|
|
179
|
+
'unicorn/prefer-default-parameters': 'off',
|
|
201
180
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-append.html
|
|
202
|
-
|
|
181
|
+
'unicorn/prefer-dom-node-append': 'off',
|
|
203
182
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-dataset.html
|
|
204
|
-
|
|
183
|
+
'unicorn/prefer-dom-node-dataset': 'off',
|
|
205
184
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-remove.html
|
|
206
|
-
|
|
185
|
+
'unicorn/prefer-dom-node-remove': 'off',
|
|
207
186
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-dom-node-text-content.html
|
|
208
|
-
|
|
187
|
+
'unicorn/prefer-dom-node-text-content': 'off',
|
|
209
188
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-event-target.html
|
|
210
|
-
|
|
189
|
+
'unicorn/prefer-event-target': 'off',
|
|
211
190
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-export-from.html
|
|
212
|
-
|
|
191
|
+
'unicorn/prefer-export-from': 'off',
|
|
213
192
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-global-this.html
|
|
214
|
-
|
|
193
|
+
'unicorn/prefer-global-this': 'off',
|
|
215
194
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-import-meta-properties.html
|
|
216
|
-
|
|
195
|
+
'unicorn/prefer-import-meta-properties': 'off',
|
|
217
196
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-includes.html
|
|
218
|
-
|
|
197
|
+
'unicorn/prefer-includes': 'off',
|
|
219
198
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-keyboard-event-key.html
|
|
220
|
-
|
|
199
|
+
'unicorn/prefer-keyboard-event-key': 'off',
|
|
221
200
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-logical-operator-over-ternary.html
|
|
222
|
-
|
|
201
|
+
'unicorn/prefer-logical-operator-over-ternary': 'off',
|
|
223
202
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-math-min-max.html
|
|
224
|
-
|
|
203
|
+
'unicorn/prefer-math-min-max': 'off',
|
|
225
204
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-math-trunc.html
|
|
226
|
-
|
|
205
|
+
'unicorn/prefer-math-trunc': 'off',
|
|
227
206
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-modern-dom-apis.html
|
|
228
|
-
|
|
207
|
+
'unicorn/prefer-modern-dom-apis': 'off',
|
|
229
208
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-modern-math-apis.html
|
|
230
|
-
|
|
209
|
+
'unicorn/prefer-modern-math-apis': 'off',
|
|
231
210
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-module.html
|
|
232
|
-
|
|
211
|
+
'unicorn/prefer-module': 'off',
|
|
233
212
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-native-coercion-functions.html
|
|
234
|
-
|
|
213
|
+
'unicorn/prefer-native-coercion-functions': 'off',
|
|
235
214
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-negative-index.html
|
|
236
|
-
|
|
215
|
+
'unicorn/prefer-negative-index': 'off',
|
|
237
216
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-node-protocol.html
|
|
238
|
-
|
|
217
|
+
'unicorn/prefer-node-protocol': 'off',
|
|
239
218
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-number-coercion.html
|
|
240
|
-
|
|
219
|
+
'unicorn/prefer-number-coercion': 'off',
|
|
241
220
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-number-properties.html
|
|
242
|
-
|
|
221
|
+
'unicorn/prefer-number-properties': 'off',
|
|
243
222
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-object-from-entries.html
|
|
244
|
-
|
|
223
|
+
'unicorn/prefer-object-from-entries': 'off',
|
|
245
224
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-optional-catch-binding.html
|
|
246
|
-
|
|
225
|
+
'unicorn/prefer-optional-catch-binding': 'off',
|
|
247
226
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-prototype-methods.html
|
|
248
|
-
|
|
227
|
+
'unicorn/prefer-prototype-methods': 'off',
|
|
249
228
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-query-selector.html
|
|
250
|
-
|
|
229
|
+
'unicorn/prefer-query-selector': 'off',
|
|
251
230
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-reflect-apply.html
|
|
252
|
-
|
|
231
|
+
'unicorn/prefer-reflect-apply': 'off',
|
|
253
232
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-regexp-test.html
|
|
254
|
-
|
|
233
|
+
'unicorn/prefer-regexp-test': 'off',
|
|
255
234
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-response-static-json.html
|
|
256
|
-
|
|
235
|
+
'unicorn/prefer-response-static-json': 'off',
|
|
257
236
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-set-has.html
|
|
258
|
-
|
|
237
|
+
'unicorn/prefer-set-has': 'off',
|
|
259
238
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-set-size.html
|
|
260
|
-
|
|
239
|
+
'unicorn/prefer-set-size': 'off',
|
|
261
240
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-single-call.html
|
|
262
|
-
|
|
241
|
+
'unicorn/prefer-single-call': 'off',
|
|
263
242
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-spread.html
|
|
264
|
-
|
|
243
|
+
'unicorn/prefer-spread': 'off',
|
|
265
244
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-string-raw.html
|
|
266
|
-
|
|
245
|
+
'unicorn/prefer-string-raw': 'off',
|
|
267
246
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-string-replace-all.html
|
|
268
|
-
|
|
247
|
+
'unicorn/prefer-string-replace-all': 'off',
|
|
269
248
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-string-slice.html
|
|
270
|
-
|
|
249
|
+
'unicorn/prefer-string-slice': 'off',
|
|
271
250
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-string-starts-ends-with.html
|
|
272
|
-
|
|
251
|
+
'unicorn/prefer-string-starts-ends-with': 'off',
|
|
273
252
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-string-trim-start-end.html
|
|
274
|
-
|
|
253
|
+
'unicorn/prefer-string-trim-start-end': 'off',
|
|
275
254
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-structured-clone.html
|
|
276
|
-
|
|
255
|
+
'unicorn/prefer-structured-clone': 'off',
|
|
277
256
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-ternary.html
|
|
278
|
-
|
|
257
|
+
'unicorn/prefer-ternary': 'off',
|
|
279
258
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-top-level-await.html
|
|
280
|
-
|
|
259
|
+
'unicorn/prefer-top-level-await': 'off',
|
|
281
260
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/prefer-type-error.html
|
|
282
|
-
|
|
261
|
+
'unicorn/prefer-type-error': 'off',
|
|
283
262
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/relative-url-style.html
|
|
284
|
-
|
|
263
|
+
'unicorn/relative-url-style': 'off',
|
|
285
264
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/require-array-join-separator.html
|
|
286
|
-
|
|
265
|
+
'unicorn/require-array-join-separator': 'off',
|
|
287
266
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/require-module-attributes.html
|
|
288
|
-
|
|
267
|
+
'unicorn/require-module-attributes': 'off',
|
|
289
268
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/require-module-specifiers.html
|
|
290
|
-
|
|
269
|
+
'unicorn/require-module-specifiers': 'off',
|
|
291
270
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/require-number-to-fixed-digits-argument.html
|
|
292
|
-
|
|
271
|
+
'unicorn/require-number-to-fixed-digits-argument': 'off',
|
|
293
272
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/require-post-message-target-origin.html
|
|
294
|
-
|
|
273
|
+
'unicorn/require-post-message-target-origin': 'off',
|
|
295
274
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/switch-case-braces.html
|
|
296
|
-
|
|
275
|
+
'unicorn/switch-case-braces': 'off',
|
|
297
276
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/switch-case-break-position.html
|
|
298
|
-
|
|
277
|
+
'unicorn/switch-case-break-position': 'off',
|
|
299
278
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/text-encoding-identifier-case.html
|
|
300
|
-
|
|
279
|
+
'unicorn/text-encoding-identifier-case': 'off',
|
|
301
280
|
// https://oxc.rs/docs/guide/usage/linter/rules/unicorn/throw-new-error.html
|
|
302
|
-
|
|
281
|
+
'unicorn/throw-new-error': 'off'
|
|
303
282
|
};
|
|
304
|
-
var
|
|
305
|
-
plugins: [
|
|
283
|
+
var unicorn = {
|
|
284
|
+
plugins: ['unicorn'],
|
|
306
285
|
rules
|
|
307
286
|
};
|
|
287
|
+
|
|
288
|
+
exports.default = unicorn;
|