You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overriding or shadowing a variable declared in an outer scope can strongly impact the readability, and therefore the maintainability, of a piece of code. Further, it could lead maintainers to introduce bugs because they think they’re using one variable but are really using another.
Add 'no-shadow': ['error'] to .eslintrc.js in server
Add 'no-shadow': ['error'] to .eslintrc.js in client
Rename until npm run lint shows no more errors
The text was updated successfully, but these errors were encountered:
Describe the bug
Overriding or shadowing a variable declared in an outer scope can strongly impact the readability, and therefore the maintainability, of a piece of code. Further, it could lead maintainers to introduce bugs because they think they’re using one variable but are really using another.
'no-shadow': ['error']
to .eslintrc.js in server'no-shadow': ['error']
to .eslintrc.js in clientnpm run lint
shows no more errorsThe text was updated successfully, but these errors were encountered: