-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
82 lines (82 loc) · 2.18 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
77
78
79
80
81
82
{
"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-empty-function": 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,
"@typescript-eslint/no-unused-vars": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"import/prefer-default-export": 0,
"camelcase": 0,
"class-methods-use-this": 0,
"new-cap": 0,
"no-async-promise-executor": 0,
"no-empty": 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,
"no-restricted-syntax": 0,
"func-names": 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": ["./packages/**/src/*", "*.js"],
"rules": {
"no-var-requires": 0,
"no-console": 0,
"no-unused-expressions": 0,
"@typescript-eslint/explicit-module-boundary-types": "off",
"import/order": "off"
}
}
]
}