-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
65 lines (65 loc) · 2.07 KB
/
.oxlintrc.json
File metadata and controls
65 lines (65 loc) · 2.07 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
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "import"],
"categories": {
"correctness": "off",
"suspicious": "off"
},
"rules": {
"eslint/curly": "off",
"eslint/no-await-in-loop": "off",
"eslint/no-console": "off",
"eslint/no-control-regex": "off",
"eslint/no-empty": ["error", { "allowEmptyCatch": true }],
"eslint/no-new": "error",
"eslint/no-unmodified-loop-condition": "off",
"eslint/no-useless-catch": "off",
"eslint/no-proto": "error",
"eslint/no-shadow": "off",
"eslint/no-unused-vars": "off",
"eslint/no-var": "error",
"eslint/prefer-const": "error",
"eslint/preserve-caught-error": "off",
"eslint/sort-imports": "off",
"import/no-cycle": "off",
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"import/no-self-import": "error",
"import/no-unassigned-import": "off",
"typescript/array-type": ["error", { "default": "array-simple" }],
"typescript/no-extraneous-class": "off",
"typescript/consistent-type-assertions": [
"error",
{ "assertionStyle": "as" }
],
"typescript/no-misused-new": "error",
"typescript/no-non-null-asserted-optional-chain": "off",
"typescript/no-this-alias": ["error", { "allowDestructuring": true }],
"unicorn/consistent-function-scoping": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-array-sort": "off",
"unicorn/no-null": "off",
"unicorn/no-array-reverse": "off",
"unicorn/no-empty-file": "off",
"unicorn/no-new-array": "off",
"unicorn/no-useless-fallback-in-spread": "off",
"unicorn/prefer-node-protocol": "error",
"unicorn/prefer-spread": "off"
},
"ignorePatterns": [
"**/.cache",
"**/.claude",
"**/additions",
"**/coverage",
"**/coverage-isolated",
"**/dist",
"**/external",
"**/node_modules",
"**/patches",
"**/test/fixtures",
"**/test/packages",
"**/*.d.ts",
"**/*.d.ts.map",
"**/*.tsbuildinfo"
]
}