Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support passing file names in as arguments #15

Closed
feross opened this issue Jan 30, 2015 · 4 comments

Comments

@feross
Copy link
Member

commented Jan 30, 2015

Run standard to recursively check a whole project.
Run standard < index.js to check an individual file.

Need to support: standard index.js or standard index.js test.js lib/a.js to check a list of files. Shouldn't be hard to add.

@jonathanong

This comment has been minimized.

Copy link

commented Feb 4, 2015

looking for standard lib, where lib is a folder as well. might be useful to use https://www.npmjs.com/package/fs-readdir-recursive for that

@feross feross closed this in ae76efc Feb 4, 2015

@feross

This comment has been minimized.

Copy link
Member Author

commented Feb 4, 2015

This is implemented now! Released as 2.4.0.

@feross

This comment has been minimized.

Copy link
Member Author

commented Feb 4, 2015

@jonathanong It expects glob patterns, so standard lib/**/*.js. That work for you?

@feross

This comment has been minimized.

Copy link
Member Author

commented Feb 4, 2015

Also, listing out files one at a time works too: standard index.js test.js bin/cmd.js

@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.