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