-
Notifications
You must be signed in to change notification settings - Fork 30
/
.eslintrc
70 lines (63 loc) · 1.53 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
{
"root": false,
"env": {
"browser": true
},
"parserOptions": {
"project": ["./tsconfig.json"]
},
"extends": [
"airbnb-base",
"airbnb-typescript/base",
"plugin:vue/vue3-recommended",
"@vue/typescript/recommended",
"prettier",
"prettier/prettier"
],
"rules": {
"func-names": 0,
"no-unused-expressions": [
"error",
{
"allowShortCircuit": true,
"allowTernary": false,
"allowTaggedTemplates": false
}
],
"prefer-destructuring": ["error", { "array": false }],
"import/extensions": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"import/order": [
"error",
{
"newlines-between": "always",
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index",
"object"
],
"pathGroups": [
{ "pattern": "@/**", "group": "internal", "position": "before" },
{ "pattern": "#/**", "group": "internal", "position": "before" }
],
"alphabetize": { "order": "asc", "caseInsensitive": true }
}
],
"vue/component-name-in-template-casing": ["error", "kebab-case"],
"vue/max-attributes-per-line": "warn",
"vue/html-closing-bracket-newline": "warn",
"vue/html-indent": "warn",
"@typescript-eslint/explicit-function-return-type": "error"
},
"overrides": [
{
"files": ["./stories/**/*"],
"rules": { "no-console": 0 }
}
]
}