Add no-shadow and no-unused-vars rules

- no shadow to allow reusing variable name for different function args
- no unused vars to help up speed up development when adding or removing as well as testing new things
pull/339/head
Rafly Maulana 3 years ago
parent 0088646b70
commit ad2a881e6e
No known key found for this signature in database
GPG Key ID: 9AADAF05ED276842

@ -40,6 +40,8 @@
"../package.json" "../package.json"
], ],
"rules": { "rules": {
"no-unused-vars": "warn",
"no-shadow": "off",
"import/no-extraneous-dependencies": [ "import/no-extraneous-dependencies": [
"error", "error",
{ {

Loading…
Cancel
Save