2018-07-23 15:12:18 +02:00
|
|
|
{
|
|
|
|
"plugins": ["flowtype"],
|
|
|
|
"extends": [
|
|
|
|
"airbnb-base",
|
|
|
|
"plugin:import/electron",
|
|
|
|
"plugin:flowtype/recommended",
|
|
|
|
"plugin:prettier/recommended"
|
|
|
|
],
|
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
|
|
|
"webpack": {
|
|
|
|
"config": "webpack.config.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"__": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"import/no-commonjs": "warn",
|
|
|
|
"import/no-amd": "warn",
|
|
|
|
"import/prefer-default-export": "ignore",
|
2019-09-13 16:38:40 +02:00
|
|
|
"func-names": ["warn", "as-needed"],
|
|
|
|
"no-plusplus": 0
|
2018-07-23 15:12:18 +02:00
|
|
|
}
|
|
|
|
}
|