You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to give ability to define different configuration for different paths in one config file, ie:
---
extends: defaultyaml-files:
- '*.yaml'
- '*.yml'
- '.yamllint'rules:
# default rules for all files in directory
---
yaml-files:
- 'folder1/*.yaml'rules:
# rules that overrides some config flags for all yamls in folder1
I'm aware that I can run yamllint with different configs for different sets of files, but this approach could simplify the usage.
Why I want this change?
Because the problem with on key in GitHub Workflows. I would like to have ability to change one config rule for given path.
The text was updated successfully, but these errors were encountered:
It would be great to give ability to define different configuration for different paths in one config file, ie:
I'm aware that I can run
yamllint
with different configs for different sets of files, but this approach could simplify the usage.Why I want this change?
Because the problem with
on
key in GitHub Workflows. I would like to have ability to change one config rule for given path.The text was updated successfully, but these errors were encountered: