-
-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy path.oxlintrc.json
More file actions
57 lines (57 loc) · 1.61 KB
/
.oxlintrc.json
File metadata and controls
57 lines (57 loc) · 1.61 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
47
48
49
50
51
52
53
54
55
56
57
{
"categories": {
"correctness": "error",
"suspicious": "warn",
"style": "warn",
"perf": "warn"
},
"plugins": ["nextjs", "react", "react-perf", "typescript", "import", "oxc"],
"rules": {
"no-magic-numbers": "off",
"no-anonymous-default-export": ["warn", { "allowCallExpression": true }],
"no-ternary": "off",
"consistent-type-specifier-style": "off",
"sort-keys": "off",
"exports-last": "off",
"no-unused-vars": "warn",
"no-unassigned-import": "off",
"consistent-indexed-object-style": "off",
"max-params": "off",
"group-exports": "off",
"func-style": "off",
"sort-imports": [
"error",
{
"ignoreCase": false,
"ignoreDeclarationSort": true,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"],
"allowSeparatedGroups": true
}
],
"prefer-default-export": "off",
"yoda": "off",
"new-cap": "off",
"no-named-export": "off",
"id-length": "off",
"react_perf/jsx-no-jsx-as-prop": "off",
"no-nested-ternary": "off",
"typescript/no-confusing-void-expression": "off",
"typescript/no-misused-spread": "warn",
"func-names": "off",
"prefer-destructuring": "off",
"max-statements": "off",
"jsx-max-depth": "off",
"no-nodejs-modules": "off"
},
"overrides": [
{
"files": ["**/*.jsx", "**/*.tsx"],
"rules": {
"react-in-jsx-scope": "off",
"no-console": ["warn", { "allow": ["info", "warn", "error", "debug", "trace"] }]
}
}
],
"ignorePatterns": ["prisma/seed.ts", "src/components/ui/*"]
}