-
Notifications
You must be signed in to change notification settings - Fork 91
/
.eslintrc
76 lines (76 loc) · 1.96 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"extends": ["airbnb-base", "prettier", "plugin:@typescript-eslint/recommended", "plugin:vue/essential"],
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true
},
"globals": {
"cy": "readonly"
},
"plugins": ["vue", "@typescript-eslint"],
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module",
"allowImportExportEverywhere": true,
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-require-imports": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/prefer-for-of": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"indent": [2, 2],
"camelcase": 0,
"class-methods-use-this": 0,
"new-cap": 0,
"no-new": 1,
"no-shadow": 0,
"no-console": 0,
"no-underscore-dangle": 0,
"no-confusing-arrow": 0,
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
],
"no-param-reassign": 0,
"func-style": 0,
"prefer-default-export": 0,
"max-len": 0,
"consistent-return": 0
},
"overrides": [
{
"files": ["*.vue"],
"rules": {
"vue/return-in-computed-property": 1,
"vue/order-in-components": 2,
"vue/component-name-in-template-casing": [2, "kebab-case"],
"vue/require-default-prop": 0,
"@typescript-eslint/explicit-module-boundary-types": "off",
"import/order": "off"
}
},
{
"files": ["src/*", "*.js"],
"rules": {
"no-var-requires": 0,
"no-console": 0,
"no-unused-expressions": 0,
"@typescript-eslint/explicit-module-boundary-types": "off",
"import/order": "off"
}
}
]
}