linter-tslint
linter-tslint copied to clipboard
tslint.json { linterOptions.exclude } is not reflected on AtomLinter
On my tslint.json I have the following configuration:
{ "extends": ["tslint:recommended"], "linterOptions": { "exclude": [ "./**/ServerModels.ts" ] }
Which works fine (ServerModels.ts is not linted) if I run tslint -c tslint.json src/**/*.ts
.
But I still get a linter error on atom when I open the file.
Is there anyway I can make linter-tslint
to exclude this file?
Thanks in advance!
+1 Same problem.
+1 same problem. Tried to add linterOptions excludes as implemented in tslint v5.8.0, but not honored in Atom linter-tslint.
Appears related to https://github.com/palantir/tslint/issues/3623