-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
26 lines (26 loc) · 785 Bytes
/
.oxlintrc.json
File metadata and controls
26 lines (26 loc) · 785 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"rules": {
"no-unused-vars": "error",
"no-console": "off",
"eqeqeq": "error",
"no-var": "error",
"prefer-const": "error",
"no-empty": "error",
"no-useless-catch": "error",
"no-self-compare": "error",
"no-constant-condition": "error",
"no-unreachable": "error",
"no-loss-of-precision": "error",
"no-debugger": "error",
"no-duplicate-case": "error",
"no-fallthrough": "error",
"no-unsafe-finally": "error",
"no-sparse-arrays": "error",
"no-template-curly-in-string": "error",
"valid-typeof": "error",
"typescript/no-floating-promises": "error",
"typescript/no-misused-promises": "error"
},
"ignorePatterns": ["dist", "node_modules"]
}