2018-03-12 20:31:14 +01:00
|
|
|
{
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 6,
|
|
|
|
"sourceType": "script",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"impliedStrict": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
2018-07-05 03:18:42 +02:00
|
|
|
"node": true
|
2018-03-12 20:31:14 +01:00
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"linebreak-style": ["error", "unix"],
|
|
|
|
"quotes": ["warn", "single"],
|
|
|
|
"semi": ["error", "always"],
|
|
|
|
"camelcase": ["warn", { "properties": "always" }],
|
|
|
|
"no-cond-assign": ["error", "except-parens"]
|
|
|
|
}
|
|
|
|
}
|