39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
{
|
|
"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": "^_" }],
|
|
"@typescript-eslint/explicit-member-accessibility": "warn",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|