Open RobertLowe opened 4 years ago
My global .eslintrc.json has:
.eslintrc.json
{ "rules": { "quotes": "off", "no-unused-vars": ["error", { "args": "after-used" }] } }
My global .tslint.json
.tslint.json
{ "rules": { "no-unused-variable": [true, {"ignore-pattern": "^_", "check-parameters": false}] } }
I don't have tslint extension installed. I did try installing it with and using"tslint.jsEnable": false, still the rule shows
tslint
"tslint.jsEnable": false
Any idea where this is coming from?
From TypeScript?
https://stackoverflow.com/questions/55487341/typescript-error-foo-is-declared-but-its-value-is-never-read-ts6133
Yea, but its running on a JS file
They are both powered by one extension in vscode.
https://code.visualstudio.com/docs/languages/javascript#_unused-variables-and-unreachable-code
I found a solution, maybe not the best...
set "javascript.validate.enable": false in settings.json
"javascript.validate.enable": false
settings.json
My global
.eslintrc.json
has:My global
.tslint.json
I don't have
tslint
extension installed. I did try installing it with and using"tslint.jsEnable": false
, still the rule showsAny idea where this is coming from?