-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
52 lines (49 loc) · 1.4 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
43
44
45
46
47
48
49
50
51
52
{
"extends": [
"@tada5hi/eslint-config-vue-typescript"
],
"parserOptions": {
"project": "./tsconfig.json",
"extraFileExtensions": [".vue"]
},
"ignorePatterns": ["**/dist/*"],
"globals": {
"NodeJS": true
},
"rules": {
"class-methods-use-this": "off",
"dot-notation": "off",
"no-continue": "off",
"no-use-before-define": "off",
"no-constant-condition": "off",
"no-underscore-dangle": "off",
"no-shadow": "off",
"import/no-relative-packages": "off",
"import/no-extraneous-dependencies": [
"error", {
"devDependencies": [
"**/*.test.js",
"**/*.test.ts",
"**/*.spec.js",
"**/*.spec.ts",
"examples/**",
"**/rollup.config.js"
]
}
],
"vue/no-v-for-template-key": "off",
"@typescript-eslint/no-throw-literal": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/ban-types": [
"error",
{
"extendDefaults": true,
"types": {
"{}": false
}
}
]
}
}