fix: set eslint no-shadow rule with defaults

Signed-off-by: abhijithvijayan <34790378+abhijithvijayan@users.noreply.github.com>
This commit is contained in:
abhijithvijayan
2021-04-04 12:44:50 +05:30
parent 84f4af61f0
commit e2d4bf3389

View File

@@ -13,6 +13,11 @@
},
"rules": {
"no-console": "off",
"no-shadow": ["error", {
"builtinGlobals": false,
"hoist": "functions",
"allow": []
}],
"react/jsx-props-no-spreading": "off",
"jsx-a11y/label-has-associated-control": "off",
"@typescript-eslint/no-explicit-any": "warn",
@@ -26,4 +31,4 @@
"tryExtensions": [".tsx"] // append tsx to the list as well
}
}
}
}