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