43 lines
919 B
JSON
43 lines
919 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"jest": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:react-hooks/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2021,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
}
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"react",
|
|
"react-hooks",
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"react/prop-types": "off",
|
|
"@typescript-eslint/explicit-function-return-type": "warn",
|
|
"no-unused-vars": "off",
|
|
"prettier/prettier": "error",
|
|
"@typescript-eslint/no-unused-vars": ["error", { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }]
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
},
|
|
"import/resolver": {
|
|
"typescript": {}
|
|
}
|
|
}
|
|
}
|