-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Expand file tree
/
Copy path.oxlintrc.json
More file actions
250 lines (238 loc) · 8.43 KB
/
.oxlintrc.json
File metadata and controls
250 lines (238 loc) · 8.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"extends": [
"./node_modules/ultracite/config/oxlint/core/.oxlintrc.json",
"./node_modules/ultracite/config/oxlint/react/.oxlintrc.json",
"./node_modules/ultracite/config/oxlint/next/.oxlintrc.json"
],
"overrides": [
{
"files": ["**/__testfixtures__/**"],
"rules": {
"no-redeclare": "off"
}
},
{
"files": ["examples/**", "**/*.test.ts"],
"rules": {
"no-unused-vars": "off"
}
}
],
"rules": {
"accessor-pairs": "off",
"array-callback-return": "off",
"arrow-body-style": "off",
"class-methods-use-this": "off",
"complexity": "off",
"curly": "off",
"default-case": "off",
"eqeqeq": "off",
"func-names": "off",
"func-style": "off",
"grouped-accessor-pairs": "off",
"guard-for-in": "off",
"max-classes-per-file": "off",
"no-alert": "off",
"no-async-promise-executor": "off",
"no-bitwise": "off",
"no-case-declarations": "off",
"no-constant-condition": "off",
"no-div-regex": "off",
"no-duplicate-imports": "off",
"no-else-return": "off",
"no-empty": "off",
"no-empty-function": "off",
"no-empty-pattern": "off",
"no-eq-null": "off",
"no-eval": "off",
"no-extra-boolean-cast": "off",
"no-fallthrough": "off",
"no-inline-comments": "off",
"no-inner-declarations": "off",
"no-lone-blocks": "off",
"no-lonely-if": "off",
"no-loop-func": "off",
"no-loss-of-precision": "off",
"no-negated-condition": "off",
"no-nested-ternary": "off",
"no-new": "off",
"no-new-func": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"no-promise-executor-return": "off",
"no-prototype-builtins": "off",
"no-script-url": "off",
"no-shadow": "off",
"no-template-curly-in-string": "off",
"no-throw-literal": "off",
"no-unassigned-vars": "off",
"no-unneeded-ternary": "off",
"no-unsafe-finally": "off",
"no-unused-expressions": "off",
"no-unused-vars": "error",
"no-use-before-define": "off",
"no-useless-catch": "off",
"no-useless-concat": "off",
"no-useless-constructor": "off",
"no-useless-escape": "off",
"no-useless-return": "off",
"no-var": "off",
"no-void": "off",
"no-warning-comments": "off",
"operator-assignment": "off",
"prefer-const": "off",
"prefer-destructuring": "off",
"prefer-exponentiation-operator": "off",
"prefer-object-has-own": "off",
"prefer-object-spread": "off",
"prefer-template": "off",
"preserve-caught-error": "off",
"radix": "off",
"require-await": "off",
"sort-keys": "off",
"yoda": "off",
"import/consistent-type-specifier-style": "off",
"import/first": "off",
"import/namespace": "off",
"import/no-cycle": "off",
"import/no-duplicates": "off",
"import/no-mutable-exports": "off",
"import/no-named-as-default": "off",
"jsdoc/check-tag-names": "off",
"jsdoc/empty-tags": "off",
"jsx-a11y/alt-text": "off",
"jsx-a11y/aria-role": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/img-redundant-alt": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/no-static-element-interactions": "off",
"nextjs/no-img-element": "off",
"node/global-require": "off",
"promise/avoid-new": "off",
"promise/no-nesting": "off",
"promise/param-names": "off",
"promise/prefer-await-to-callbacks": "off",
"promise/prefer-await-to-then": "off",
"react/button-has-type": "off",
"react/jsx-curly-brace-presence": "off",
"react/jsx-key": "off",
"react/jsx-no-constructed-context-values": "off",
"react/jsx-no-useless-fragment": "off",
"react/jsx-pascal-case": "off",
"react/no-array-index-key": "off",
"react/no-danger": "off",
"react/self-closing-comp": "off",
"react-hooks/exhaustive-deps": "off",
"react_perf/jsx-no-new-function-as-prop": "off",
"unicorn/catch-error-name": "off",
"unicorn/consistent-existence-index-check": "off",
"unicorn/consistent-function-scoping": "off",
"unicorn/empty-brace-spaces": "off",
"unicorn/escape-case": "off",
"unicorn/filename-case": "off",
"unicorn/new-for-builtins": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-array-method-this-argument": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-array-reverse": "off",
"unicorn/no-array-sort": "off",
"unicorn/no-await-expression-member": "off",
"unicorn/no-console-spaces": "off",
"unicorn/no-hex-escape": "off",
"unicorn/no-immediate-mutation": "off",
"unicorn/no-instanceof-array": "off",
"unicorn/no-instanceof-builtins": "off",
"unicorn/no-lonely-if": "off",
"unicorn/no-nested-ternary": "off",
"unicorn/no-new-array": "off",
"unicorn/no-object-as-default-parameter": "off",
"unicorn/no-this-assignment": "off",
"unicorn/no-typeof-undefined": "off",
"unicorn/no-unnecessary-array-splice-count": "off",
"unicorn/no-useless-collection-argument": "off",
"unicorn/no-useless-fallback-in-spread": "off",
"unicorn/no-useless-promise-resolve-reject": "off",
"unicorn/no-useless-spread": "off",
"unicorn/no-useless-switch-case": "off",
"unicorn/no-useless-undefined": "off",
"unicorn/no-zero-fractions": "off",
"unicorn/number-literal-case": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/prefer-add-event-listener": "off",
"unicorn/prefer-array-find": "off",
"unicorn/prefer-array-some": "off",
"unicorn/prefer-at": "off",
"unicorn/prefer-bigint-literals": "off",
"unicorn/prefer-code-point": "off",
"unicorn/prefer-default-parameters": "off",
"unicorn/prefer-dom-node-append": "off",
"unicorn/prefer-dom-node-remove": "off",
"unicorn/prefer-event-target": "off",
"unicorn/prefer-math-trunc": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-native-coercion-functions": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/prefer-number-properties": "off",
"unicorn/prefer-object-from-entries": "off",
"unicorn/prefer-optional-catch-binding": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-regexp-test": "off",
"unicorn/prefer-response-static-json": "off",
"unicorn/prefer-set-has": "off",
"unicorn/prefer-spread": "off",
"unicorn/prefer-string-replace-all": "off",
"unicorn/prefer-string-slice": "off",
"unicorn/prefer-structured-clone": "off",
"unicorn/prefer-ternary": "off",
"unicorn/prefer-type-error": "off",
"unicorn/relative-url-style": "off",
"unicorn/require-array-join-separator": "off",
"unicorn/require-module-specifiers": "off",
"unicorn/switch-case-braces": "off",
"unicorn/text-encoding-identifier-case": "off",
"oxc/erasing-op": "off",
"oxc/no-accumulating-spread": "off",
"oxc/no-async-endpoint-handlers": "off",
"oxc/no-barrel-file": "off",
"typescript/adjacent-overload-signatures": "off",
"typescript/array-type": "off",
"typescript/ban-ts-comment": "off",
"typescript/ban-types": "off",
"typescript/class-literal-property-style": "off",
"typescript/consistent-generic-constructors": "off",
"typescript/consistent-indexed-object-style": "off",
"typescript/consistent-type-definitions": "off",
"typescript/consistent-type-imports": "off",
"typescript/no-dynamic-delete": "off",
"typescript/no-empty-interface": "off",
"typescript/no-empty-object-type": "off",
"typescript/no-explicit-any": "off",
"typescript/no-extraneous-class": "off",
"typescript/no-import-type-side-effects": "off",
"typescript/no-inferrable-types": "off",
"typescript/no-invalid-void-type": "off",
"typescript/no-non-null-assertion": "off",
"typescript/no-this-alias": "off",
"typescript/no-unsafe-function-type": "off",
"typescript/no-wrapper-object-types": "off",
"typescript/parameter-properties": "off",
"typescript/prefer-enum-initializers": "off",
"typescript/prefer-for-of": "off",
"typescript/prefer-ts-expect-error": "off",
"typescript/unified-signatures": "off"
},
"ignorePatterns": [
"**/*.html",
"**/*.md",
"**/*.mdx",
"**/*.mjs",
"**/__fixtures__/**",
"**/__snapshots__/**",
"**/__testfixtures__/**",
"**/tsconfig*.json",
"**/turbo.json",
"tools/tsconfig/**",
"packages/codemod/src/test/__testfixtures__/import-LanguageModelV2-from-provider-package.output.ts"
]
}