-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand file tree
/
Copy path.oxlintrc.json
More file actions
184 lines (184 loc) · 6.57 KB
/
.oxlintrc.json
File metadata and controls
184 lines (184 loc) · 6.57 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"extends": ["./node_modules/ultracite/config/oxlint/core/.oxlintrc.json"],
"ignorePatterns": [
"build/",
"crates/",
"cli/",
"examples/",
"packages/eslint-plugin-turbo/__fixtures__",
"packages/create-turbo/templates",
"turborepo-tests/",
"buildcontainer/",
"scripts/",
"apps/docs"
],
"rules": {
"jest/no-confusing-set-timeout": "off",
"jest/no-untyped-mock-factory": "off",
"func-style": "off",
"sort-keys": "off",
"import/no-relative-parent-imports": "off",
"import/no-nodejs-modules": "off",
"max-statements": "off",
"jest/no-conditional-in-test": "off",
"jest/require-hook": "off",
"no-inline-comments": "off",
"unicorn/numeric-separators-style": "off",
"typescript/consistent-type-definitions": "off",
"no-use-before-define": "off",
"promise/prefer-await-to-then": "off",
"jsdoc/check-tag-names": "off",
"jest/no-conditional-expect": "off",
"promise/prefer-await-to-callbacks": "off",
"require-await": "off",
"jest/valid-title": "off",
"jest/max-expects": "off",
"jest/no-hooks": "off",
"typescript/no-explicit-any": "off",
"no-unused-vars": "off",
"no-plusplus": "off",
"prefer-template": "off",
"prefer-destructuring": "off",
"no-shadow": "off",
"no-negated-condition": "off",
"typescript/no-non-null-assertion": "off",
"unicorn/consistent-function-scoping": "off",
"vitest/no-import-node-test": "off",
"no-useless-return": "off",
"no-unused-expressions": "off",
"promise/avoid-new": "off",
"class-methods-use-this": "off",
"no-empty-function": "off",
"no-new": "off",
"unicorn/no-empty-file": "off",
"default-case": "off",
"typescript/consistent-type-imports": "off",
"unicorn/prefer-spread": "off",
"no-alert": "off",
"vitest/consistent-test-filename": "off",
"jest/require-top-level-describe": "off",
"import/no-named-as-default-member": "off",
"complexity": "off",
"no-void": "off",
"no-warning-comments": "off",
"unicorn/prefer-logical-operator-over-ternary": "off",
"unicorn/no-await-expression-member": "off",
"unicorn/prefer-add-event-listener": "off",
"unicorn/no-immediate-mutation": "off",
"import/no-named-as-default": "off",
"no-nested-ternary": "off",
"unicorn/no-array-reduce": "off",
"jsdoc/require-param-type": "off",
"typescript/ban-types": "off",
"import/no-absolute-path": "off",
"unicorn/new-for-builtins": "off",
"promise/no-nesting": "off",
"typescript/parameter-properties": "off",
"no-promise-executor-return": "off",
"jest/prefer-each": "off",
"unicorn/no-useless-error-capture-stack-trace": "off",
"unicorn/no-abusive-eslint-disable": "off",
"unicorn/no-object-as-default-parameter": "off",
"oxc/no-accumulating-spread": "off",
"jsdoc/require-returns-type": "off",
"promise/param-names": "off",
"typescript/no-unsafe-function-type": "off",
"node/global-require": "off",
"jest/expect-expect": "off",
"import/default": "off",
"import/no-cycle": "off",
"import/no-duplicates": "off",
"no-duplicate-imports": "off",
"typescript/no-extraneous-class": "off",
"unicorn/no-lonely-if": "off",
"typescript/no-empty-object-type": "off",
"eqeqeq": "off",
"unicorn/prefer-response-static-json": "off",
"array-callback-return": "off",
"import/no-webpack-loader-syntax": "off",
"unicorn/prefer-object-from-entries": "off",
"unicorn/prefer-array-find": "off",
"promise/no-multiple-resolved": "off",
"unicorn/prefer-modern-math-apis": "off",
"unicorn/no-useless-switch-case": "off",
"typescript/no-inferrable-types": "off",
"func-names": "off",
"guard-for-in": "off",
"typescript/ban-ts-comment": "off",
"jest/no-done-callback": "off",
"no-eq-null": "off",
"no-param-reassign": "off",
"unicorn/no-document-cookie": "off",
"unicorn/no-useless-collection-argument": "off",
"oxc/no-barrel-file": "off",
"unicorn/require-post-message-target-origin": "off",
"jest/prefer-to-be": "off",
"unicorn/prefer-string-replace-all": "off",
"vitest/prefer-to-be-truthy": "off",
"typescript/array-type": "off",
"jest/consistent-test-it": "off",
"unicorn/text-encoding-identifier-case": "off",
"unicorn/no-nested-ternary": "off",
"unicorn/no-array-sort": "off",
"arrow-body-style": "off",
"curly": "off",
"unicorn/no-useless-undefined": "off",
"unicorn/catch-error-name": "off",
"unicorn/prefer-optional-catch-binding": "off",
"import/consistent-type-specifier-style": "off",
"typescript/no-import-type-side-effects": "off",
"typescript/consistent-indexed-object-style": "off",
"unicorn/prefer-set-has": "off",
"vars-on-top": "off",
"unicorn/throw-new-error": "off",
"typescript/prefer-ts-expect-error": "off",
"unicorn/no-console-spaces": "off",
"preserve-caught-error": "off",
"vitest/prefer-to-be-falsy": "off",
"typescript/prefer-function-type": "off",
"jest/prefer-strict-equal": "off",
"vitest/prefer-called-once": "off",
"vitest/prefer-describe-function-title": "off",
"jest/prefer-called-with": "off",
"vitest/prefer-import-in-mock": "off",
"jest/prefer-lowercase-title": "off",
"unicorn/prefer-string-slice": "off",
"typescript/ban-tslint-comment": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-ternary": "off"
},
"overrides": [
{
"files": [
"**/*.{test,spec}.{ts,tsx,js,jsx}",
"**/__tests__/**/*.{ts,tsx,js,jsx}"
],
"plugins": ["jest", "vitest"],
"rules": {
"jest/consistent-test-it": "off",
"jest/max-expects": "off",
"jest/no-conditional-expect": "off",
"jest/no-conditional-in-test": "off",
"jest/no-confusing-set-timeout": "off",
"jest/no-done-callback": "off",
"jest/no-hooks": "off",
"jest/no-untyped-mock-factory": "off",
"jest/prefer-called-with": "off",
"jest/prefer-each": "off",
"jest/prefer-lowercase-title": "off",
"jest/prefer-strict-equal": "off",
"jest/prefer-to-be": "off",
"jest/require-hook": "off",
"jest/require-top-level-describe": "off",
"jest/valid-title": "off",
"vitest/no-import-node-test": "off",
"vitest/prefer-called-once": "off",
"vitest/prefer-describe-function-title": "off",
"vitest/prefer-import-in-mock": "off",
"vitest/prefer-to-be-falsy": "off",
"vitest/prefer-to-be-truthy": "off"
}
}
]
}