saadq/lynt

Remove `no-unused-variable` in TSLint config

Open

#28 geöffnet am 17. Juli 2018

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (6 Forks)github user discovery
good first issuetslint

Repository-Metriken

Stars
 (383 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide