2019-10-08 09:29:11 +02:00
|
|
|
module.exports = {
|
|
|
|
|
"extends": [
|
|
|
|
|
"react-app",
|
2019-10-21 10:49:51 +02:00
|
|
|
"plugin:prettier/recommended",
|
2019-10-08 09:29:11 +02:00
|
|
|
"plugin:flowtype/recommended"
|
|
|
|
|
],
|
|
|
|
|
"rules": {
|
|
|
|
|
"semi": ["error", "always"],
|
|
|
|
|
"quotes": ["error", "double"],
|
|
|
|
|
"jsx-a11y/href-no-hash": [0],
|
|
|
|
|
"flowtype/no-types-missing-file-annotation": 2,
|
|
|
|
|
"no-console": "error"
|
2019-10-20 18:11:43 +02:00
|
|
|
},
|
|
|
|
|
"overrides": [
|
|
|
|
|
{
|
|
|
|
|
files: ["*.ts", "*.tsx"],
|
|
|
|
|
parser: "@typescript-eslint/parser",
|
|
|
|
|
"extends": [
|
|
|
|
|
"react-app",
|
2019-10-21 10:49:51 +02:00
|
|
|
"plugin:prettier/recommended",
|
2019-10-20 18:11:43 +02:00
|
|
|
"plugin:@typescript-eslint/recommended"
|
|
|
|
|
],
|
|
|
|
|
"rules": {
|
|
|
|
|
"semi": ["error", "always"],
|
|
|
|
|
"quotes": ["error", "double"],
|
|
|
|
|
"jsx-a11y/href-no-hash": [0],
|
2019-10-21 10:49:51 +02:00
|
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
2019-10-20 18:11:43 +02:00
|
|
|
"no-console": "error"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]
|
2019-10-08 09:29:11 +02:00
|
|
|
};
|