linter-tslint icon indicating copy to clipboard operation
linter-tslint copied to clipboard

tslint.json { linterOptions.exclude } is not reflected on AtomLinter

Open andelizondo opened this issue 7 years ago • 3 comments

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!

andelizondo avatar Nov 03 '17 12:11 andelizondo

+1 Same problem.

yubaoquan avatar Dec 14 '17 15:12 yubaoquan

+1 same problem. Tried to add linterOptions excludes as implemented in tslint v5.8.0, but not honored in Atom linter-tslint.

rfmatos avatar Feb 14 '18 21:02 rfmatos

Appears related to https://github.com/palantir/tslint/issues/3623

ryanberckmans avatar Jul 04 '18 21:07 ryanberckmans