-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy path.oxlintrc.json
More file actions
34 lines (34 loc) · 1.07 KB
/
.oxlintrc.json
File metadata and controls
34 lines (34 loc) · 1.07 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
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"plugins": ["react", "unicorn", "typescript"],
"categories": {
"correctness": "off"
},
"rules": {
"no-console": [
"error",
{ "allow": ["info", "warn", "error", "time", "timeEnd"] }
],
"func-style": ["error", "expression", { "allowArrowFunctions": true }],
"curly": "error",
"eqeqeq": ["error", "always", { "null": "ignore" }],
"radix": "error",
"react/rules-of-hooks": "error",
"react/exhaustive-deps": "warn",
"typescript/no-explicit-any": "error",
"unicorn/filename-case": ["error", { "case": "kebabCase" }],
"unicorn/prefer-node-protocol": "error"
},
"ignorePatterns": [
"**/*.js",
"**/*.d.ts",
"**/__generated__/**",
"codemod/**",
"packages/*/lib/**",
"packages/prisma-client/prisma/migrations/**",
"packages/cli/templates/**",
"fixtures/**",
"packages/sdk-components-animation/private-src/polyfill/**",
"packages/sdk-components-animation/private-src/perf/**"
]
}