-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.oxlintrc.json
More file actions
34 lines (34 loc) · 869 Bytes
/
.oxlintrc.json
File metadata and controls
34 lines (34 loc) · 869 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
29
30
31
32
33
34
{
"rules": {
"no-unused-vars": "error",
"no-empty-pattern": "error",
"no-constant-condition": "error",
"no-extra-boolean-cast": "error",
"no-unsafe-optional-chaining": "error",
"no-console": "warn",
"unicorn/no-empty-file": "warn",
"unicorn/no-invalid-remove-event-listener": "error",
"unicorn/no-useless-fallback-in-spread": "warn"
},
"plugins": ["unicorn", "typescript", "react", "import"],
"env": {
"browser": true,
"node": true,
"es2022": true
},
"ignore": [
"node_modules",
".next",
"dist",
"build",
"coverage",
"*.min.js",
"*.d.ts",
"scripts/**",
"**/scripts/**",
"./scripts/**",
"**/__tests__/**",
"**/*.test.ts",
"**/*.test.tsx"
]
}