@typescript-eslint/no-shadow
Error prone
Medium
Disallow variable declarations from shadowing variables declared in the outer scope
The Codiga Static Analysis engine checks JavaScript code and supports many popular libraries. If you are using React, NextJS, Vue or Angular: the engine will flag any issue in your codebase. Automate your code reviews with Codiga and merge with confidence.
Disallow variable declarations from shadowing variables declared in the outer scope