2016-02-27 21:53:11 +00:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
2017-05-04 05:49:08 +00:00
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"plugin:import/errors",
|
2017-05-12 00:23:56 +00:00
|
|
|
"plugin:import/warnings",
|
|
|
|
"plugin:flowtype/recommended"
|
2017-05-04 05:49:08 +00:00
|
|
|
],
|
2020-06-20 20:59:15 +00:00
|
|
|
"plugins": [
|
|
|
|
"prettier",
|
|
|
|
"flowtype"
|
|
|
|
],
|
2016-02-27 21:53:11 +00:00
|
|
|
"rules": {
|
2017-07-02 00:19:45 +00:00
|
|
|
"eqeqeq": 2,
|
2017-05-26 19:56:10 +00:00
|
|
|
"no-unused-vars": 2,
|
2017-04-28 04:48:13 +00:00
|
|
|
"no-mixed-operators": "off",
|
2020-08-09 05:53:59 +00:00
|
|
|
"import/order": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"alphabetize": {
|
|
|
|
"order": "asc"
|
|
|
|
},
|
|
|
|
"pathGroups": [
|
|
|
|
{
|
|
|
|
"pattern": "shared/**",
|
|
|
|
"group": "external",
|
|
|
|
"position": "after"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"pattern": "stores",
|
|
|
|
"group": "external",
|
|
|
|
"position": "after"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"pattern": "stores/**",
|
|
|
|
"group": "external",
|
|
|
|
"position": "after"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"pattern": "models/**",
|
|
|
|
"group": "external",
|
|
|
|
"position": "after"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"pattern": "scenes/**",
|
|
|
|
"group": "external",
|
|
|
|
"position": "after"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"pattern": "components/**",
|
|
|
|
"group": "external",
|
|
|
|
"position": "after"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2017-05-12 00:23:56 +00:00
|
|
|
"flowtype/require-valid-file-annotation": [
|
|
|
|
2,
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"annotationStyle": "line"
|
|
|
|
}
|
|
|
|
],
|
2020-06-20 20:59:15 +00:00
|
|
|
"flowtype/space-after-type-colon": [
|
|
|
|
2,
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"flowtype/space-before-type-colon": [
|
|
|
|
2,
|
|
|
|
"never"
|
|
|
|
],
|
2017-05-04 05:49:08 +00:00
|
|
|
"prettier/prettier": [
|
|
|
|
"error",
|
|
|
|
{
|
2017-11-16 06:56:40 +00:00
|
|
|
"printWidth": 80,
|
2020-06-20 20:59:15 +00:00
|
|
|
"trailingComma": "es5"
|
2016-07-01 06:21:58 +00:00
|
|
|
}
|
2017-05-04 05:49:08 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"settings": {
|
2019-01-21 19:06:44 +00:00
|
|
|
"react": {
|
|
|
|
"createClass": "createReactClass",
|
|
|
|
"pragma": "React",
|
2020-08-09 05:53:59 +00:00
|
|
|
"version": "detect"
|
2019-01-21 19:06:44 +00:00
|
|
|
},
|
2018-01-04 05:35:13 +00:00
|
|
|
"import/resolver": {
|
|
|
|
"node": {
|
2020-06-20 20:59:15 +00:00
|
|
|
"paths": [
|
|
|
|
"app",
|
|
|
|
"."
|
|
|
|
]
|
2018-01-04 05:35:13 +00:00
|
|
|
}
|
|
|
|
},
|
2017-05-12 00:23:56 +00:00
|
|
|
"flowtype": {
|
|
|
|
"onlyFilesWithFlowAnnotation": false
|
|
|
|
}
|
2016-07-26 05:49:32 +00:00
|
|
|
},
|
2016-09-09 08:35:39 +00:00
|
|
|
"env": {
|
2017-05-04 05:49:08 +00:00
|
|
|
"jest": true
|
2020-08-15 00:23:58 +00:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"EDITOR_VERSION": true
|
2017-05-04 05:49:08 +00:00
|
|
|
}
|
2020-06-20 20:59:15 +00:00
|
|
|
}
|