You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
884 B
37 lines
884 B
{ |
|
"parser": "babel-eslint", |
|
"parserOptions": { |
|
"sourceType": "module", |
|
"ecmaFeatures": { "modules": true } |
|
}, |
|
"rules": { |
|
"max-len": [2, 80, 2, {"ignoreUrls": true}], |
|
"indent": [2, 4, {"SwitchCase": 1}], |
|
"semi": ["error", "always"], |
|
"no-trailing-spaces": 2, |
|
"no-multi-spaces": 2, |
|
"array-bracket-spacing": 2, |
|
"keyword-spacing": ["error", { "after": true, "before": true }], |
|
"max-depth": [2, 7], |
|
"max-statements": [2, 133], |
|
"complexity": [2, 45], |
|
"no-unused-vars": 2, |
|
"no-eval": 2, |
|
"no-underscore-dangle": 0, |
|
"no-loop-func": 2, |
|
"no-floating-decimal": 2, |
|
"curly": 2, |
|
"eqeqeq": [2, "smart"], |
|
"quotes": [2, "single"], |
|
"new-cap": 2, |
|
"radix": [2, "always"] |
|
}, |
|
"env": { |
|
"es6": true, |
|
"browser": true, |
|
"node": false |
|
}, |
|
"globals": { |
|
"__webpack_public_path__": false |
|
} |
|
}
|
|
|