-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.oxlintrc.json
More file actions
28 lines (28 loc) · 978 Bytes
/
.oxlintrc.json
File metadata and controls
28 lines (28 loc) · 978 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
{
"$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",
"perry-custom/no-duplicate-method-names": "warn"
},
"jsPlugins": ["./oxlint-plugins/no-duplicate-method-names.js"],
"ignorePatterns": ["dist", "node_modules", "workspace", "web", "oxlint-plugins", "mobile/src/lib/terminal-html.ts"]
}