You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
the globs in tslint src/**/*.ts --exclude src/**/*.d.ts are expanded by your shell, not the TSLint CLI. not much we can do there. see related discussions #692, #827, etc.
Bug Report
3.15.1
1.8.10
TypeScript code being linted
with
tslint.json
configuration:Usage of exclude:
Run
tslint src/**/*.ts --exclude src/**/*.d.ts
.tslint src/**/*.ts --exclude "src/**/*.d.ts"
.tslint src/**/*.ts --exclude=src/**/*.d.ts
Expected behavior
All three should either ouput only the
*.ts
and ignore*.d.ts
files or throw an error of faulty usage.Actual behavior
The usage of
--exclude src/**/*.d.ts
prints*.d.ts
lints:Only the two other work as expected.
The text was updated successfully, but these errors were encountered: