forked from brunobasto/metal-apollo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
35 lines (35 loc) · 794 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
30
31
32
33
34
35
{
"env": {
"browser": true,
"jest": true,
"mocha": true
},
"extends": "liferay",
"globals": {
"$": true,
"AUI": true,
"CKEDITOR": true,
"Liferay": true,
"_": true,
"alert": true,
"confirm": true,
"submitForm": true,
"themeDisplay": true,
"tinyMCE": true
},
"rules": {
"brace-style": ["error", "stroustrup"],
"lines-around-comment": ["error", {
"afterBlockComment": false,
"afterLineComment": true,
"beforeBlockComment": false,
"beforeLineComment": false
}],
"padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": "*", "next": "return" },
{ "blankLine": "always", "prev": ["const", "let", "var"], "next": "*"},
{ "blankLine": "any", "prev": ["const", "let", "var"], "next": ["const", "let", "var"]}
]
}
}