2017-01-04 18:28:47 +01:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"plugins": [
|
|
|
|
"react",
|
2017-01-17 11:51:10 +01:00
|
|
|
"babel",
|
|
|
|
"redux-saga"
|
2017-01-04 18:28:47 +01:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"commonjs": true,
|
|
|
|
"es6": true,
|
|
|
|
"node": true,
|
2018-05-18 14:22:24 +02:00
|
|
|
"mocha": true,
|
|
|
|
"jest": true
|
2017-01-04 18:28:47 +01:00
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"experimentalObjectRestSpread": true,
|
|
|
|
"jsx": true
|
|
|
|
},
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"globals": {
|
2017-01-17 11:51:10 +01:00
|
|
|
"strapi": true,
|
|
|
|
"window": true
|
2017-01-04 18:28:47 +01:00
|
|
|
},
|
|
|
|
"rules": {
|
2017-01-17 11:51:10 +01:00
|
|
|
"generator-star-spacing": 0,
|
|
|
|
"babel/generator-star-spacing": 0,
|
2017-01-04 18:28:47 +01:00
|
|
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
|
|
|
"linebreak-style": ["error", "unix"],
|
|
|
|
"no-console": 0,
|
|
|
|
"quotes": ["error", "single"],
|
|
|
|
"semi": ["error", "always"]
|
|
|
|
}
|
|
|
|
}
|