ESLint plugin
This project is maintained by iliubinskii
ESLint plugin / no-shadow
This rule wraps “@typescript-eslint/no-shadow” rule, but skips checking enum.
module.exports = {
plugins: ["misc"],
rules: {
"misc/no-shadow": "error"
}
};
const x = 1;
function f() { const x = 1; }
const x = 1;
enum E { x = "x" }