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",
|
2019-01-14 19:40:06 +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,
|
2018-05-16 04:32:13 +02:00
|
|
|
"import/prefer-default-export": 0,
|
2018-05-25 06:36:43 +02:00
|
|
|
"no-return-assign": 0,
|
2018-06-01 04:51:07 +02:00
|
|
|
"react/require-default-props": 0,
|
2018-07-25 02:50:04 +02:00
|
|
|
"react/jsx-closing-tag-location": 0,
|
2018-09-26 02:12:07 +02:00
|
|
|
"jsx-a11y/no-noninteractive-element-to-interactive-role": 0,
|
2018-10-04 06:11:08 +02:00
|
|
|
"class-methods-use-this": 0,
|
|
|
|
"jsx-a11y/interactive-supports-focus": 0,
|
2018-10-31 17:57:22 +01:00
|
|
|
"jsx-a11y/click-events-have-key-events": 0,
|
2018-11-02 19:33:00 +01:00
|
|
|
"consistent-return": 0,
|
2018-11-21 22:20:55 +01:00
|
|
|
"no-prototype-builtins": 0,
|
2019-01-14 19:40:06 +01:00
|
|
|
"flowtype/space-after-type-colon": [2, "always", { "allowLineBreak": true }],
|
2019-01-16 05:33:06 +01:00
|
|
|
"no-restricted-syntax": 0,
|
2019-01-19 19:54:06 +01:00
|
|
|
"no-empty": 0,
|
2019-01-28 21:05:28 +01:00
|
|
|
"react/prefer-stateless-function": 0,
|
|
|
|
"react/sort-comp": 0
|
2017-12-13 22:35:07 +01:00
|
|
|
}
|
2017-12-28 01:09:13 +01:00
|
|
|
}
|