no-shadow-relaxed

ESLint rule for preventing variable shadowing, with options for more relaxed enforcement

BSD-3-Clause 2 个版本
安装
npm install no-shadow-relaxed
yarn add no-shadow-relaxed
pnpm add no-shadow-relaxed
bun add no-shadow-relaxed
README

no-shadow-relaxed

Rule for eslint for more relaxed no-shadow options

This wraps the existing no-shadow eslint rule with an extra option for ignore, which represents any keys you want to allow to be shadowed. For example, err or done are sometimes allowed to be shadowed.

版本列表
1.0.1 2015-06-25
1.0.0 2015-06-24