2017-12-13 22:35:07 +01:00
|
|
|
{
|
2017-12-28 01:09:13 +01:00
|
|
|
"plugins": ["flowtype"],
|
2017-12-13 22:35:07 +01:00
|
|
|
"extends": [
|
|
|
|
"airbnb",
|
2017-12-20 16:32:59 +01:00
|
|
|
"plugin:import/electron",
|
2017-12-13 22:35:07 +01:00
|
|
|
"plugin:flowtype/recommended",
|
2018-03-23 20:42:17 +01:00
|
|
|
"plugin:prettier/recommended"
|
2017-12-13 22:35:07 +01:00
|
|
|
],
|
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
|
|
|
"webpack": {
|
|
|
|
"config": "webpack.renderer.additions.js"
|
|
|
|
}
|
2018-03-01 22:08:43 +01:00
|
|
|
}
|
2017-12-13 22:35:07 +01:00
|
|
|
},
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"__static": true,
|
2018-03-22 19:52:07 +01:00
|
|
|
"staticResourcesPath": true,
|
2017-12-20 16:34:18 +01:00
|
|
|
"__": true,
|
|
|
|
"__n": true,
|
|
|
|
"app": true
|
2017-12-20 16:35:13 +01:00
|
|
|
},
|
|
|
|
"rules": {
|
2017-12-28 01:09:13 +01:00
|
|
|
"import/no-commonjs": "warn",
|
|
|
|
"import/no-amd": "warn",
|
2018-03-23 20:42:17 +01:00
|
|
|
"prettier/prettier": ["error", {
|
|
|
|
"trailingComma": "es5",
|
|
|
|
"printWidth": 100,
|
|
|
|
"singleQuote": true
|
|
|
|
}],
|
2018-03-30 02:29:05 +02:00
|
|
|
"func-names": ["warn", "as-needed"],
|
2018-05-07 06:50:55 +02:00
|
|
|
"jsx-a11y/label-has-for": 0,
|
|
|
|
"import/prefer-default-export": 0
|
2017-12-13 22:35:07 +01:00
|
|
|
}
|
2017-12-28 01:09:13 +01:00
|
|
|
}
|