-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
42 lines (42 loc) · 925 Bytes
/
.eslintrc.json
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
{
"extends": ["google"],
"env": {
"es6": true,
"node": true,
"mocha": true,
"browser": true
},
"plugins": [
"html"
],
"rules": {
"arrow-parens": ["error", "always"],
"arrow-spacing": "error",
"comma-dangle": "off",
"eol-last": "error",
"indent": ["error", 2, {
"MemberExpression": 0
}],
"keyword-spacing": "error",
"linebreak-style": ["warn", "unix"],
"max-len": "off",
"max-nested-callbacks": "off",
"new-cap": ["error", {
"capIsNewExceptions": ["Polymer"]
}],
"no-trailing-spaces": "error",
"no-warning-comments": "warn",
"require-jsdoc": "off",
"space-before-blocks": "error",
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "never"
}],
"space-in-parens": "error",
"yoda": "off"
},
"globals": {
"Polymer": true
}
}