saadq/lynt

Remove `no-unused-variable` in TSLint config

Open

#28 创建于 2018年7月17日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)TypeScript (6 fork)github user discovery
good first issuetslint

仓库指标

Star
 (383 star)
PR 合并指标
 (PR 指标待抓取)

描述

TSLint version >= 2.9 seems to have deprecated no-unused-variable.

...the changes in 2.9 make it much more complex for this rule to work as intended, especially with respect to the ignorePattern option.

It looks like people should now just make sure that their tsconfig.json has the noUnusedLocals option enabled which covers most of what no-unused-variable did.

Changes would need to be made here.

贡献者指南