saadq/lynt

Remove `no-unused-variable` in TSLint config

Open

#28 opened on 2018年7月17日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)TypeScript (6 forks)github user discovery
good first issuetslint

Repository metrics

Stars
 (383 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド