2016-02-16 08:41:47 +01:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"rules": {
|
|
|
|
"max-len": [2, 80, 2, {"ignoreUrls": true}],
|
|
|
|
"max-depth": [2, 7],
|
2016-04-04 11:08:57 +02:00
|
|
|
"max-statements": [2, 172],
|
2016-03-14 07:49:23 +01:00
|
|
|
"complexity": [2, 88],
|
2016-02-22 08:14:58 +01:00
|
|
|
"no-unused-vars": 2,
|
|
|
|
"no-eval": 2,
|
2016-02-16 08:41:47 +01:00
|
|
|
"no-underscore-dangle": 0,
|
|
|
|
"no-loop-func": 2,
|
2016-02-22 08:41:41 +01:00
|
|
|
"no-floating-decimal": 2,
|
2016-02-16 08:41:47 +01:00
|
|
|
"curly": 2,
|
2016-02-22 08:41:41 +01:00
|
|
|
//"eqeqeq": [2, "smart"],
|
2016-02-16 08:41:47 +01:00
|
|
|
"quotes": [2, "single"],
|
2016-02-22 08:14:58 +01:00
|
|
|
"indent": [2, 4, {"SwitchCase": 1}],
|
2016-02-16 08:41:47 +01:00
|
|
|
"no-trailing-spaces": 2,
|
|
|
|
"no-multi-spaces": 2,
|
2016-02-22 08:14:58 +01:00
|
|
|
"array-bracket-spacing": 2,
|
2016-03-16 08:08:26 +01:00
|
|
|
"new-cap": 2,
|
|
|
|
"radix": [2, "always"]
|
2016-02-16 08:41:47 +01:00
|
|
|
},
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"modules": true
|
|
|
|
},
|
|
|
|
"env": {
|
2016-02-22 08:14:58 +01:00
|
|
|
"es6": true,
|
|
|
|
"browser": true,
|
|
|
|
"node": false
|
2016-02-16 08:41:47 +01:00
|
|
|
}
|
2016-03-16 08:08:26 +01:00
|
|
|
}
|