008f73fec2
wherever I was this is such a heap of shit but it technically works? progress working? but bad on desktop use browser default for date time fix language setting loading fixes
57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
|
"parser": "babel-eslint",
|
|
"extends": ["standard", "standard-jsx", "plugin:react/recommended", "plugin:flowtype/recommended"],
|
|
"plugins": ["flowtype", "import", "react-hooks"],
|
|
"settings": {
|
|
"import/resolver": {
|
|
"webpack": {
|
|
"config": "webpack.base.config.js"
|
|
}
|
|
}
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"__static": true,
|
|
"i18n": true,
|
|
"__": true,
|
|
"app": true,
|
|
"IS_WEB": true,
|
|
"WEBPACK_PORT": true
|
|
},
|
|
"rules": {
|
|
"brace-style": 0,
|
|
"comma-dangle": ["error", "always-multiline"],
|
|
"handle-callback-err": 0,
|
|
"indent": 0,
|
|
"jsx-quotes": ["error", "prefer-double"],
|
|
"new-cap": 0,
|
|
"no-console": 1,
|
|
"no-multi-spaces": 0,
|
|
"no-redeclare": 0,
|
|
"no-return-await": 0,
|
|
"object-curly-spacing": 0,
|
|
"one-var": 0,
|
|
"prefer-promise-reject-errors": 0,
|
|
"react/jsx-indent": 0,
|
|
"react-hooks/exhaustive-deps": "warn",
|
|
"react-hooks/rules-of-hooks": "error",
|
|
"space-before-function-paren": ["error", {
|
|
"anonymous": "never",
|
|
"named": "never",
|
|
"asyncArrow": "always"
|
|
}],
|
|
"standard/object-curly-even-spacing": 0,
|
|
"standard/no-callback-literal": 0,
|
|
"react/display-name": 0,
|
|
"semi": [
|
|
"error",
|
|
"always",
|
|
{
|
|
"omitLastInOneLineBlock": true
|
|
}
|
|
]
|
|
}
|
|
}
|