angelozerr / tslint-language-service

TypeScript 2.2.1 plugin for tslint
MIT License
188 stars 22 forks source link

`exclude` options #79

Open artola opened 6 years ago

artola commented 6 years ago

TLS is not respecting the tsconfig.exclude option.

Could be this possible fixed in TLS or is it a tslint issue?

Note: tslint CLI respects linterOptions.exclude

artola commented 6 years ago

@angelozerr do you have some hint regarding linterOptions .exclude ?

I have this tslint.json for example:

{
  "extends": "tslint:recomended",
  "linterOptions": {
    "exclude": ["src/**/*"]
  }
}

That should not show any error in the whole src folder, while VScode/TLS still report them. Same config, but running tslint CLI, show no errors as expected.