-
-
Notifications
You must be signed in to change notification settings - Fork 155
Expand file tree
/
Copy pathoxlint.config.ts
More file actions
29 lines (27 loc) · 809 Bytes
/
oxlint.config.ts
File metadata and controls
29 lines (27 loc) · 809 Bytes
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
import { config } from "oxlint-config-canonical";
import { defineConfig } from "oxlint";
// Remove rule not yet supported by oxlint
for (const override of config.overrides ?? []) {
if (override.rules) {
delete override.rules["unicorn/no-abusive-oxlint-disable"];
}
}
export default defineConfig({
extends: [config],
ignorePatterns: ["**/dist/", "**/.*/", "**/CHANGELOG.md"],
overrides: [
{
files: ["**/*.{ts,tsx}"],
rules: {
"@typescript-eslint/no-explicit-any": "off",
"id-length": "off",
"no-promise-executor-return": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"no-warning-comments": "off",
"perfectionist/sort-classes": "off",
"perfectionist/sort-modules": "off",
},
},
],
});