forked from kumahq/kuma-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
29 lines (29 loc) · 933 Bytes
/
.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
{
"root": true,
"env": {
"browser": true,
"node": true
},
"extends": ["plugin:vue/recommended", "plugin:jest/recommended", "standard"],
"rules": {
"curly": "error",
"arrow-parens": 0,
"generator-star-spacing": 0,
"object-property-newline": "error",
"lines-between-class-members": ["error", "always"],
"padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": ["block", "block-like"], "next": "*" },
{ "blankLine": "always", "prev": "*", "next": "return" },
{ "blankLine": "always", "prev": ["const", "let", "var"], "next": "*" },
{
"blankLine": "any",
"prev": ["const", "let", "var"],
"next": ["const", "let", "var", "if"]
},
{ "blankLine": "always", "prev": "directive", "next": "*" },
{ "blankLine": "any", "prev": "directive", "next": "directive" }
],
"jest/valid-expect": "error"
}
}