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": {
|
2019-10-02 06:15:24 +02:00
|
|
|
"consistent-return": 0,
|
2020-01-03 20:20:14 +01:00
|
|
|
"import/extensions": 0,
|
2018-07-23 15:12:18 +02:00
|
|
|
"import/no-commonjs": "warn",
|
|
|
|
"import/no-amd": "warn",
|
|
|
|
"import/prefer-default-export": "ignore",
|
2019-09-16 22:12:43 +02:00
|
|
|
"flowtype/generic-spacing": 0,
|
2019-09-13 16:38:40 +02:00
|
|
|
"func-names": ["warn", "as-needed"],
|
|
|
|
"no-plusplus": 0
|
2018-07-23 15:12:18 +02:00
|
|
|
}
|
|
|
|
}
|