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

How to exclude multiple directories? #14

Open
purpleidea opened this issue Jan 25, 2019 · 1 comment
Open

How to exclude multiple directories? #14

purpleidea opened this issue Jan 25, 2019 · 1 comment

Comments

@purpleidea
Copy link

I've been trying to run liche in a my local project directory (.) in CI tests, and exclude multiple directories, such as vendor/ and some others. How can I match more than one dir prefix with exclude?

Thanks!

@dchang-dchang
Copy link

Try combining this with unix command line tools:

find . -not -path './**/vendor/*' -not -path './**/node_modules/*' | xargs liche 

the --exclude flag is actually excluding a link in the file from being check, when you want to exclude an entire folder/file from being checked at all.

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

No branches or pull requests

2 participants