27 lines
708 B
Plaintext
27 lines
708 B
Plaintext
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:prettier/recommended",
|
|
"plugin:import/typescript",
|
|
"prettier"
|
|
],
|
|
"plugins": ["@typescript-eslint", "react", "react-hooks", "import"],
|
|
"rules": {
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"react/prop-types": "off",
|
|
"react-hooks/rules-of-hooks": "error",
|
|
"react-hooks/exhaustive-deps": "warn",
|
|
"import/first": "warn",
|
|
"import/no-unused-modules": "warn"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|