-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.eslintrc.json
42 lines (41 loc) · 995 Bytes
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"plugin:vue/vue3-recommended",
"plugin:@typescript-eslint/recommended",
"airbnb-typescript/base"
],
"parser": "vue-eslint-parser",
"parserOptions": {
"ecmaVersion": 2018,
"parser": "@typescript-eslint/parser",
"sourceType": "module",
"project": "tsconfig.json",
"tsconfigRootDir": "./",
"extraFileExtensions": [ ".vue" ]
},
"plugins": [
"vue",
"@typescript-eslint",
"tree-shaking"
],
"rules": {
"max-len": "off",
"import/extensions": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"tree-shaking/no-side-effects-in-initialization": 2
},
"overrides": [
{
"files": ["*.spec.ts", "src/main.ts", "src/development/*"],
"rules": {
"tree-shaking/no-side-effects-in-initialization": "off"
}
}
]
}