forked from HOOLC/zork
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
40 lines (40 loc) · 1.2 KB
/
Copy path.oxlintrc.json
File metadata and controls
40 lines (40 loc) · 1.2 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["import", "node", "promise", "typescript", "unicorn", "oxc", "vitest"],
"rules": {
"eqeqeq": ["error", "always", { "null": "ignore" }],
"max-lines": [
"error",
{
"max": 1200,
"skipBlankLines": true,
"skipComments": true
}
],
"no-debugger": "error",
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-throw-literal": "error",
"no-unused-vars": "off",
"no-var": "error",
"prefer-const": "off",
"unicorn/no-useless-fallback-in-spread": "off",
"unicorn/no-useless-spread": "off",
"import/no-cycle": "off",
"import/no-duplicates": "error",
"promise/no-return-wrap": "error",
"oxc/erasing-op": "off",
"typescript/no-unsafe-declaration-merging": "off",
"vitest/no-disabled-tests": "error",
"vitest/no-conditional-expect": "off",
"vitest/expect-expect": "off",
"vitest/no-focused-tests": "error",
"vitest/no-identical-title": "error",
"vitest/require-mock-type-parameters": "off",
"vitest/require-to-throw-message": "off",
"vitest/valid-title": "off"
},
"env": {
"builtin": true,
"node": true
}
}