Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Don't lint imported js file from node_modules #2827

Closed
ajafff opened this issue May 26, 2017 · 0 comments · Fixed by #3320
Closed

Don't lint imported js file from node_modules #2827

ajafff opened this issue May 26, 2017 · 0 comments · Fixed by #3320

Comments

@ajafff
Copy link
Contributor

ajafff commented May 26, 2017

When running tslint --project . with allowJs enabled in tsconfig.json and no files specified on CLI, imported js files will be linted.
tslint tries to exclude dependencies by filtering *.d.ts files, but that doesn't work if the program contains js files.

This is blocked until microsoft/TypeScript#16111 is done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants