-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoxlint.json
More file actions
24 lines (24 loc) · 793 Bytes
/
oxlint.json
File metadata and controls
24 lines (24 loc) · 793 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
{
"$schema": "https://raw.githubusercontent.com/nicolo-ribaudo/tc39-proposal-json-schema/refs/heads/main/packages/schema/oxlint-config-schema.json",
"rules": {
"no-unused-vars": "warn",
"no-console": "off",
"eqeqeq": "error",
"no-var": "error",
"prefer-const": "warn",
"no-debugger": "error",
"no-empty": "warn",
"no-extra-boolean-cast": "warn",
"no-unsafe-negation": "error",
"no-constant-condition": "warn",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-empty-pattern": "warn",
"no-self-assign": "error",
"no-self-compare": "error",
"no-template-curly-in-string": "warn",
"no-unreachable": "error",
"no-loss-of-precision": "error"
},
"ignorePatterns": ["dist/**", "node_modules/**", "*.test.ts"]
}