-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.oxlintrc.json
More file actions
33 lines (33 loc) · 803 Bytes
/
Copy path.oxlintrc.json
File metadata and controls
33 lines (33 loc) · 803 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "import"],
"categories": {
"correctness": "error",
"suspicious": "warn",
"pedantic": "off",
"style": "off",
"restriction": "off",
"nursery": "off"
},
"rules": {
"no-unused-vars": [
"error",
{
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"no-unused-expressions": [
"error",
{
"allowShortCircuit": true,
"allowTernary": true
}
],
"typescript/no-non-null-assertion": "warn",
"unicorn/no-useless-spread": "warn",
"unicorn/consistent-function-scoping": "warn"
},
"ignorePatterns": ["node_modules", "dist", "out", ".next"]
}