2017-12-13 18:35:07 -03:00
|
|
|
{
|
2017-12-27 21:09:13 -03:00
|
|
|
"plugins": ["flowtype"],
|
2017-12-13 18:35:07 -03:00
|
|
|
"extends": [
|
|
|
|
"airbnb",
|
2017-12-20 12:32:59 -03:00
|
|
|
"plugin:import/electron",
|
2017-12-13 18:35:07 -03:00
|
|
|
"plugin:flowtype/recommended",
|
2018-03-23 15:42:17 -04:00
|
|
|
"plugin:prettier/recommended"
|
2017-12-13 18:35:07 -03:00
|
|
|
],
|
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
|
|
|
"webpack": {
|
|
|
|
"config": "webpack.renderer.additions.js"
|
|
|
|
}
|
2018-03-01 16:08:43 -05:00
|
|
|
}
|
2017-12-13 18:35:07 -03:00
|
|
|
},
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"__static": true,
|
2018-03-22 14:52:07 -04:00
|
|
|
"staticResourcesPath": true,
|
2017-12-20 12:34:18 -03:00
|
|
|
"__": true,
|
|
|
|
"__n": true,
|
|
|
|
"app": true
|
2017-12-20 12:35:13 -03:00
|
|
|
},
|
|
|
|
"rules": {
|
2017-12-27 21:09:13 -03:00
|
|
|
"import/no-commonjs": "warn",
|
|
|
|
"import/no-amd": "warn",
|
2018-03-23 15:42:17 -04:00
|
|
|
"prettier/prettier": ["error", {
|
|
|
|
"trailingComma": "es5",
|
|
|
|
"printWidth": 100,
|
|
|
|
"singleQuote": true
|
|
|
|
}],
|
2018-03-29 20:29:05 -04:00
|
|
|
"func-names": ["warn", "as-needed"],
|
2018-05-07 00:50:55 -04:00
|
|
|
"jsx-a11y/label-has-for": 0,
|
2018-05-15 22:32:13 -04:00
|
|
|
"import/prefer-default-export": 0,
|
2018-05-25 00:36:43 -04:00
|
|
|
"no-return-assign": 0,
|
2018-05-31 22:51:07 -04:00
|
|
|
"react/require-default-props": 0,
|
|
|
|
"react/jsx-closing-tag-location": 0
|
2017-12-13 18:35:07 -03:00
|
|
|
}
|
2017-12-27 21:09:13 -03:00
|
|
|
}
|