Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

lint: start using tslint library api #33

Merged
merged 1 commit into from
Aug 9, 2017

Conversation

ofrobots
Copy link
Contributor

@ofrobots ofrobots commented Aug 8, 2017

Configuration.findConfiguration(tslintConfigPath, '').results;
const linter = new Linter({fix: fix, formatter: 'codeFrame'}, program);
const files = Linter.getFileNames(program);
files.forEach(file => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will run everything in parallel, right? Is there a # of files at which this would fall down?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually forEach is serial.

@JustinBeckwith JustinBeckwith merged commit eaf7303 into google:master Aug 9, 2017
@ofrobots ofrobots deleted the lint-prog branch August 9, 2017 04:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants