2018-07-05 22:19:40 +02:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"extends": [
|
2018-07-06 00:33:13 +02:00
|
|
|
"eslint:recommended"
|
2018-07-05 22:19:40 +02:00
|
|
|
],
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2017,
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"experimentalObjectRestSpread": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
|
|
|
"linebreak-style": ["error", "unix"],
|
|
|
|
"quotes": ["error", "double"],
|
|
|
|
"semi": ["error", "always"]
|
|
|
|
}
|
|
|
|
}
|