forked from zammad/zammad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
45 lines (45 loc) · 1.18 KB
/
.oxlintrc.json
File metadata and controls
45 lines (45 loc) · 1.18 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "import", "unicorn", "promise", "vitest", "oxc"],
"categories": {
"correctness": "error",
"perf": "error"
},
"rules": {
"unicorn/no-thenable": "off",
"jest/no-standalone-expect": "off",
"jest/valid-expect": "off",
"jest/no-export": "off",
"promise/no-callback-in-promise": "off",
"import/no-unassigned-import ": "off",
"typescript/no-explicit-any": "error",
"no-irregular-whitespace": "error",
"no-use-before-define": "error",
"no-empty-object-type": "error",
"vitest/warn-todo": "warn",
"import/no-cycle": "error"
},
"overrides": [{
"files": [
"app/frontend/tests/**",
"app/frontend/**/__tests__/**",
"app/frontend/**/*.spec.*",
"app/frontend/cypress/**"
],
"rules": {
"typescript/no-explicit-any": "off"
}
}],
"settings": {},
"env": {
"browser": true,
"node": true
},
"globals": {},
"ignorePatterns": [
"app/frontend/**/graphql/**/*.ts",
"!app/frontend/tests/graphql/**/*.ts",
"app/frontend/shared/graphql/types.ts",
"app/frontend/shared/types/config.ts"
]
}