es-x/no-shadow-catch-param ​
disallow identifiers from shadowing catch parameter names
This rule reports identifiers from shadowing catch parameter names as errors.
See Annex B - VariableStatements in Catch Blocks.
💡 Examples ​
â›” Examples of incorrect code for this rule:
🚀 Version ​
This rule was introduced in v5.1.0.