-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
53 lines (53 loc) · 982 Bytes
/
.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
43
44
45
46
47
48
49
50
51
52
53
{
"parser": "vue-eslint-parser",
"extends": [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"airbnb-base"
],
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [
"*.config.*"
],
"env": {
"node": true,
"browser": true,
"es6": true
},
"globals": {
"defineProps": "readonly",
"defineEmits": "readonly",
"withDefaults": "readonly"
},
"settings": {
"import/resolver": {
"typescript": {}
}
},
"overrides": [{
"files": [
"*.ts",
"*.vue"
],
"parser": "vue-eslint-parser",
"parserOptions": {
"ecmaVersion": "latest",
"parser": "@typescript-eslint/parser",
"project": "tsconfig.json"
},
"extends": [
"@vue/typescript/recommended",
"airbnb-typescript/base"
],
"rules": {
"no-undef": "off",
"@typescript-eslint/no-explicit-any": "off"
}
}
],
"rules": {
"import/prefer-default-export": "off"
}
}