mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-18 13:52:36 +00:00
Disable some ts rules in eslint
Array rule doesn't make sense to me\ Prop-types, in my opinion, is not needed when components are types anyway. And this is also a library, which doesn't export any component as such
This commit is contained in:
+3
-1
@@ -23,8 +23,10 @@ module.exports = {
|
|||||||
rules: {
|
rules: {
|
||||||
"@typescript-eslint/explicit-function-return-type": "off",
|
"@typescript-eslint/explicit-function-return-type": "off",
|
||||||
"@typescript-eslint/explicit-member-accessibility": "off",
|
"@typescript-eslint/explicit-member-accessibility": "off",
|
||||||
|
"@typescript-eslint/array-type": "off",
|
||||||
"react-hooks/exhaustive-deps": "warn",
|
"react-hooks/exhaustive-deps": "warn",
|
||||||
"react-hooks/rules-of-hooks": "error"
|
"react-hooks/rules-of-hooks": "error",
|
||||||
|
"react/prop-types": "off"
|
||||||
},
|
},
|
||||||
overrides: [
|
overrides: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user