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:
2019-08-03 21:08:50 +05:30
parent f0d18da0f8
commit 8a2ac706ca
+3 -1
View File
@@ -23,8 +23,10 @@ module.exports = {
rules: {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/array-type": "off",
"react-hooks/exhaustive-deps": "warn",
"react-hooks/rules-of-hooks": "error"
"react-hooks/rules-of-hooks": "error",
"react/prop-types": "off"
},
overrides: [
{