-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
38 lines (38 loc) · 800 Bytes
/
Copy path.oxlintrc.json
File metadata and controls
38 lines (38 loc) · 800 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
35
36
37
38
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["import", "typescript", "react", "unicorn"],
"env": {
"browser": true,
"node": true,
"es2022": true
},
"globals": {
"next": "readonly",
"React": "readonly"
},
"ignorePatterns": [
".next/**",
"out/**",
"build/**",
"node_modules/**",
"**/__tests__/**",
"**/?(*.)+(spec|test).[jt]s?(x)",
"src/lib/prisma/**",
"jest.config.js",
"jest.setup.js",
"e2e.config.ts"
],
"options": {
"typeAware": true,
"typeCheck": false
},
"rules": {
"no-console": "warn",
"no-debugger": "warn",
"typescript/no-unused-vars": [
"warn",
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }
],
"import/no-cycle": "error"
}
}