-
Notifications
You must be signed in to change notification settings - Fork 260
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
excluded path #53
Comments
Hi @Raffaello, Can you test the in-progress feature described at #43 (comment) and implemented on the |
i will have a look later for now i am doing a solution using gnu find, still not sure if it is working for a CI pipeline lint step check for the return codes. |
@adrienverge the |
related / same feature as this branch: |
btw a similar solution reported here is what i needed: i am closing. |
it would be nice to also have an excluded path for eg:
given this directories:
normally you should iterate on all N subdirs or creating a bash script filtering out the excluded dir(s).
so strictly cannot be run simple as
yamllint yaml_files
but need to be expanded in something similar as
cd yaml_files && yamllint subdir1 ... subdirN
or using gnu
find
it would be a lot simpler have a sort of excluded path option eg:
yamllint --exclude-path yaml_files/wanted_excluded_subdir yam_files
or in short just matching a regExp in the path
yamllint --excluded-path wanted_excluded yam_files
The text was updated successfully, but these errors were encountered: