Tslint: /* tslint:disable */ not ignoring undeclared variable error.

Created on 24 Apr 2019  路  1Comment  路  Source: palantir/tslint

TSLint rule flag are not ignoring unused variable error, neither displaying any quick fix in my VS code. I've installed TSLint extension in my Visual Studio code. Also install typescript-tslint-plugin in my dev dependency and added plugin property in tsconfig.json as described here https://github.com/Microsoft/typescript-tslint-plugin#configuration-options

However still getting error on context parameter i.e. "Property 'context' is declared but its value is never read"

Visual Studio Code version :1.33.1
Could you please confirm that Is there any other extension I need to install or any property need to set to make it work.

image

image

Not A Bug Question

Most helpful comment

That's probably a tsc error, not a tslint error. Let us know if you still have the problem when running the TSLint CLI.

>All comments

That's probably a tsc error, not a tslint error. Let us know if you still have the problem when running the TSLint CLI.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dashmug picture dashmug  路  3Comments

mrand01 picture mrand01  路  3Comments

allbto picture allbto  路  3Comments

zewa666 picture zewa666  路  3Comments

jacob-robertson picture jacob-robertson  路  3Comments