2016-02-16 08:41:47 +01:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
2016-05-14 14:23:13 +02:00
|
|
|
"parserOptions": {
|
2017-06-28 12:47:32 +02:00
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": { "modules": true }
|
2016-05-14 14:23:13 +02:00
|
|
|
},
|
2016-02-16 08:41:47 +01:00
|
|
|
"rules": {
|
|
|
|
"max-len": [2, 80, 2, {"ignoreUrls": true}],
|
2016-05-31 11:22:21 +02:00
|
|
|
"indent": [2, 4, {"SwitchCase": 1}],
|
2017-05-25 05:51:44 +02:00
|
|
|
"semi": ["error", "always"],
|
2016-05-31 11:22:21 +02:00
|
|
|
"no-trailing-spaces": 2,
|
|
|
|
"no-multi-spaces": 2,
|
|
|
|
"array-bracket-spacing": 2,
|
|
|
|
"keyword-spacing": ["error", { "after": true, "before": true }],
|
2016-02-16 08:41:47 +01:00
|
|
|
"max-depth": [2, 7],
|
2018-06-15 16:21:26 +02:00
|
|
|
"max-statements": [2, 133],
|
2017-12-25 12:00:58 +01:00
|
|
|
"complexity": [2, 41],
|
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-05-15 05:33:16 +02:00
|
|
|
"eqeqeq": [2, "smart"],
|
2016-02-16 08:41:47 +01:00
|
|
|
"quotes": [2, "single"],
|
2016-03-16 08:08:26 +01:00
|
|
|
"new-cap": 2,
|
|
|
|
"radix": [2, "always"]
|
2016-02-16 08:41:47 +01:00
|
|
|
},
|
|
|
|
"env": {
|
2016-02-22 08:14:58 +01:00
|
|
|
"es6": true,
|
|
|
|
"browser": true,
|
|
|
|
"node": false
|
2016-04-30 04:58:15 +02:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"__webpack_public_path__": false
|
2016-02-16 08:41:47 +01:00
|
|
|
}
|
2016-03-16 08:08:26 +01:00
|
|
|
}
|