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