-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
72 lines (72 loc) · 1.81 KB
/
Copy path.oxlintrc.json
File metadata and controls
72 lines (72 loc) · 1.81 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["import", "typescript"],
"categories": {
"correctness": "off"
},
"env": {
"builtin": true,
"browser": true,
"es2024": true,
"node": true
},
"globals": {
"computed": "readonly",
"defineEmits": "readonly",
"defineExpose": "readonly",
"defineProps": "readonly",
"onMounted": "readonly",
"onUnmounted": "readonly",
"reactive": "readonly",
"ref": "readonly",
"shallowReactive": "readonly",
"shallowRef": "readonly",
"toRef": "readonly",
"toRefs": "readonly",
"watch": "readonly",
"watchEffect": "readonly"
},
"ignorePatterns": [
"**/.DS_Store",
"**/node_modules/",
"**/dist/",
"**/.vscode",
"**/coverage/",
"**/test-results/",
"**/playwright-report/",
"packages/ui/tests/e2e/**"
],
"rules": {
"no-console": "off",
"no-eval": "error",
"no-implied-eval": "error",
"no-new-func": "error",
"no-script-url": "error",
"no-unused-vars": "off",
"typescript/no-explicit-any": "warn",
"typescript/no-require-imports": "off"
},
"overrides": [
{
"files": ["**/tests/**", "packages/backend/scripts/**"],
"rules": {
"typescript/no-explicit-any": "off"
}
},
{
"files": ["**/*.vue"],
"rules": {
"vue/no-arrow-functions-in-watch": "error",
"vue/no-deprecated-destroyed-lifecycle": "error",
"vue/no-export-in-script-setup": "error",
"vue/no-lifecycle-after-await": "error",
"vue/prefer-import-from-vue": "error",
"vue/valid-define-emits": "error",
"vue/valid-define-props": "error",
"vue/no-multiple-slot-args": "warn",
"vue/no-required-prop-with-default": "warn"
},
"plugins": ["vue"]
}
]
}