2017-12-13 18:35:07 -03:00
|
|
|
{
|
2019-03-18 01:09:50 -04:00
|
|
|
"parser": "babel-eslint",
|
|
|
|
"extends": ["standard", "standard-jsx", "plugin:flowtype/recommended"],
|
2019-03-07 16:46:15 -05:00
|
|
|
"plugins": ["flowtype", "import"],
|
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
|
|
|
"webpack": {
|
|
|
|
"config": "webpack.base.config.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2017-12-13 18:35:07 -03:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"__static": true,
|
2019-03-04 23:46:57 -05:00
|
|
|
"i18n": true,
|
2017-12-20 12:34:18 -03:00
|
|
|
"__": true,
|
|
|
|
"__n": true,
|
2019-03-18 01:06:41 -04:00
|
|
|
"app": true,
|
|
|
|
"IS_WEB": true
|
2017-12-20 12:35:13 -03:00
|
|
|
},
|
|
|
|
"rules": {
|
2019-03-18 01:09:50 -04:00
|
|
|
"no-multi-spaces": 0,
|
|
|
|
"new-cap": 0,
|
|
|
|
"prefer-promise-reject-errors": 0,
|
|
|
|
"no-unused-vars": 0,
|
|
|
|
"standard/object-curly-even-spacing": 0,
|
|
|
|
"handle-callback-err": 0,
|
|
|
|
"one-var": 0,
|
|
|
|
"object-curly-spacing": 0,
|
|
|
|
"no-redeclare": 0,
|
|
|
|
"no-return-await": 0,
|
|
|
|
"standard/no-callback-literal": 0,
|
|
|
|
"comma-dangle": ["error", "always-multiline"],
|
|
|
|
"space-before-function-paren": ["error", "never"],
|
2019-03-19 11:59:29 -04:00
|
|
|
"jsx-quotes": ["error", "prefer-double"],
|
2019-03-18 01:09:50 -04:00
|
|
|
"semi": [
|
2019-02-22 00:01:59 -05:00
|
|
|
"error",
|
2019-03-18 01:09:50 -04:00
|
|
|
"always",
|
2019-02-22 00:01:59 -05:00
|
|
|
{
|
2019-03-18 01:09:50 -04:00
|
|
|
"omitLastInOneLineBlock": true
|
2019-02-22 00:01:59 -05:00
|
|
|
}
|
2019-03-18 01:09:50 -04:00
|
|
|
]
|
2017-12-13 18:35:07 -03:00
|
|
|
}
|
2017-12-27 21:09:13 -03:00
|
|
|
}
|