2019-10-20 01:40:55 +02:00
|
|
|
{
|
2019-10-20 19:59:22 +02:00
|
|
|
"extends": ["eslint:recommended", "prettier"],
|
|
|
|
"env": { "es6": true, "browser": true, "node": true },
|
|
|
|
"settings": { "react": { "version": "detect" } },
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": ["**/*.ts", "**/*.tsx"],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 2018,
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
},
|
|
|
|
"project": "./tsconfig.json",
|
|
|
|
"tsconfigRootDir": "./"
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:jsx-a11y/recommended",
|
|
|
|
"prettier/@typescript-eslint",
|
|
|
|
"prettier/react",
|
|
|
|
"plugin:prettier/recommended",
|
|
|
|
"plugin:react/recommended"
|
|
|
|
],
|
|
|
|
"plugins": ["@typescript-eslint", "react"],
|
|
|
|
"rules": {
|
|
|
|
"react/prop-types": "off",
|
|
|
|
"@typescript-eslint/explicit-function-return-type": "off"
|
|
|
|
}
|
2019-10-20 01:40:55 +02:00
|
|
|
}
|
2019-10-20 19:59:22 +02:00
|
|
|
]
|
2019-10-20 01:40:55 +02:00
|
|
|
}
|