Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Add support for linting stdin to CLI#178

Merged
hnrch02 merged 2 commits intomasterfrom
cli-support-stdin
Dec 18, 2014
Merged

Add support for linting stdin to CLI#178
hnrch02 merged 2 commits intomasterfrom
cli-support-stdin

Conversation

@hnrch02
Copy link
Copy Markdown
Collaborator

@hnrch02 hnrch02 commented Nov 12, 2014

/cc @cvrebert

@hnrch02 hnrch02 added this to the v0.9.0 milestone Nov 12, 2014
@hnrch02 hnrch02 changed the title Cli support stdin Add support for linting stdin to CLI Nov 12, 2014
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling 8f9f33c on cli-support-stdin into 7f89c70 on master.

src/cli.js Outdated
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Perhaps buildReporter('<stdin>') to clarify it's not a normal file?

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling b1de39f on cli-support-stdin into 7f89c70 on master.

@cvrebert
Copy link
Copy Markdown
Collaborator

Is there really a use case for cat foo.html | bootlint bar.html ?
Seems like it'd make more sense to only process stdin when no files are specified.

@hnrch02
Copy link
Copy Markdown
Collaborator Author

hnrch02 commented Nov 12, 2014

I don't know just wanted to make it as versatile as possible.

@cvrebert
Copy link
Copy Markdown
Collaborator

Anyway, I agree with the basic idea and have no objection to using promises.

@hnrch02
Copy link
Copy Markdown
Collaborator Author

hnrch02 commented Nov 13, 2014

Great, so LGTY then?

@cvrebert
Copy link
Copy Markdown
Collaborator

Yeah, sure.

@cvrebert
Copy link
Copy Markdown
Collaborator

:shipit: ?

@cvrebert
Copy link
Copy Markdown
Collaborator

@hnrch02 :shipit: once merged conflicts are resolved.

hnrch02 added a commit that referenced this pull request Dec 18, 2014
Add support for linting stdin to CLI
@hnrch02 hnrch02 merged commit 7b02a72 into master Dec 18, 2014
@hnrch02 hnrch02 deleted the cli-support-stdin branch December 18, 2014 05:19
@XhmikosR XhmikosR mentioned this pull request Jan 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants