lynt icon indicating copy to clipboard operation
lynt copied to clipboard

Remove `no-unused-variable` in TSLint config

Open saadq opened this issue 7 years ago • 0 comments

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.

saadq avatar Jul 17 '18 19:07 saadq