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

recursive operation #3

Closed
bdefore opened this issue Dec 23, 2011 · 2 comments
Closed

recursive operation #3

bdefore opened this issue Dec 23, 2011 · 2 comments

Comments

@bdefore
Copy link

bdefore commented Dec 23, 2011

Would love to be able to pass a directory and have all of its contents recursively lint-checked

@clutchski
Copy link
Owner

Apologies for the slow reply. I think I'm going to pass on this, because this is a one liner in the shell, and it doesn't need to be written again. For example:

# In bash ...
find PATH_TO_DIR -name "*.coffee" | xargs coffeelint -f your_config.json

# In zsh ...
coffeelint PATH_TO_DIR/**/*.coffee

What do you think?

@bdefore
Copy link
Author

bdefore commented Feb 2, 2012

Yeah that's roughly what I resorted to. I can't remember the full context now but I think it became cumbersome when I was using coffeelint within a build script. More of a nice to have anycase.

On 2 Feb 2012, at 00:37, Matt Perpickreply@reply.github.com wrote:

Apologies for the slow reply. I think I'm going to pass on this, because this is a one liner in the shell, and it doesn't need to be written again. For example:

In bash ...

find PATH_TO_DIR -name "*.coffee" | xargs coffeelint -f your_config.json

In zsh ...

coffeelint PATH_TO_DIR/*/.coffee

What do you think?


Reply to this email directly or view it on GitHub:
#3 (comment)

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

No branches or pull requests

2 participants