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