2020-05-23 21:51:11 +00:00
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"prettier",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:react-hooks/recommended"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 6,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": ["@typescript-eslint/eslint-plugin", "simple-import-sort"],
|
|
|
|
"rules": {
|
|
|
|
"eqeqeq": "error",
|
|
|
|
"no-undef": 0,
|
|
|
|
"simple-import-sort/sort": "warn",
|
|
|
|
"@typescript-eslint/explicit-function-return-type": 0,
|
|
|
|
"@typescript-eslint/no-empty-interface": 0,
|
|
|
|
"@typescript-eslint/no-empty-function": 0,
|
|
|
|
"@typescript-eslint/no-explicit-any": 0,
|
|
|
|
"@typescript-eslint/no-namespace": 0,
|
|
|
|
"@typescript-eslint/no-use-before-define": 0,
|
|
|
|
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
|
2020-10-24 03:23:19 +00:00
|
|
|
"@typescript-eslint/explicit-member-accessibility": "warn",
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off"
|
2020-05-23 21:51:11 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|