6e45f4fbfb
Adjust config file, .eslintrc, accordingly; remove deprecated options Change-Id: I113606c5d1fdc4c46216b1fa340c957fd0e69308
27 lines
560 B
Text
27 lines
560 B
Text
{
|
|
"rules": {
|
|
"camelcase": 2,
|
|
"quotes": [2, "single"],
|
|
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
|
|
"space-in-parens": 2,
|
|
"space-before-blocks": 2,
|
|
"keyword-spacing": 2,
|
|
"no-lonely-if": 2,
|
|
"comma-style": 2,
|
|
"indent": [2, "tab", {"VariableDeclarator": 0}],
|
|
"no-underscore-dangle": 0,
|
|
"no-constant-condition": 0,
|
|
"no-multi-spaces": 0,
|
|
"strict": 0,
|
|
"key-spacing": 0,
|
|
"no-shadow": 0
|
|
},
|
|
"globals": {
|
|
"L": true,
|
|
"module": false,
|
|
"define": false
|
|
},
|
|
"env": {
|
|
"browser": true
|
|
}
|
|
}
|