-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc
45 lines (45 loc) · 1008 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
36
37
38
39
40
41
42
43
44
45
{
"extends": ["google"],
"rules": {
"require-jsdoc": 0,
"object-curly-spacing": 0,
"no-unused-vars": [
"error",
{
"vars": "local"
}
],
"no-console": 1,
"max-len": [
1,
120,
2,
{
"ignoreUrls": true,
"ignoreStrings": true,
"ignorePattern": "data:image/|\\s*require\\s*\\(|^\\s*loader\\.lazy|-\\*-"
}
]
},
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"env": {
"browser": true,
"node": true
},
"globals": {
"customEvent": true,
"customElements": true,
"HTMLImports": true,
"Polymer": true,
"ShadyDOM": true,
"ShadyCSS": true,
"JSCompiler_renameProperty": true
}
}