-
-
Notifications
You must be signed in to change notification settings - Fork 284
Expand file tree
/
Copy path.oxlintrc.json
More file actions
46 lines (43 loc) · 1.03 KB
/
.oxlintrc.json
File metadata and controls
46 lines (43 loc) · 1.03 KB
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
39
40
41
42
43
44
45
46
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "react"],
"categories": {
"correctness": "error",
"perf": "error",
"restriction": "error",
"suspicious": "error"
},
"env": {
"builtin": true
},
"rules": {
"complexity": "off",
"no-empty-function": "off",
"no-eq-null": "off",
"no-shadow": "off",
"no-undefined": "off",
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"ignoreRestSiblings": true
}
],
"react/jsx-filename-extension": "off",
"react/react-in-jsx-scope": "off",
"react/rules-of-hooks": "error",
"react/exhaustive-deps": "error",
"typescript/explicit-function-return-type": "off",
"typescript/explicit-module-boundary-types": "off",
"typescript/no-var-requires": "off",
"typescript/no-require-imports": "off"
},
"overrides": [
{
"files": ["example/**", "src/extras/**", "cli.js"],
"rules": {
"no-console": "off"
}
}
]
}