-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
42 lines (42 loc) · 1.04 KB
/
.eslintrc
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
{
"root": true,
"env": {
"node": true,
},
"extends": [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"plugin:vue/vue3-essential",
"@vue/prettier",
"@vue/prettier/@typescript-eslint",
"@vue/typescript/recommended"
],
"parserOptions": {
"parser": "@typescript-eslint/parser",
},
"rules": {
"no-unused-vars": "off",
"no-debugger":"off",
"prefer-const": "warn",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/class-name-casing": "warn",
"@typescript-eslint/ban-ts-ignore": "warn",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-var-requires": "warn",
"vue/experimental-script-setup-vars": "off",
"vue/script-setup-uses-vars": "off",
"@typescript-eslint/camelcase": "warn"
},
"overrides": [
{
"files": [
"**/__tests__/*.{j,t}s?(x)",
"**/tests/unit/**/*.spec.{j,t}s?(x)",
],
"env": {
"jest": true
}
}
]
}