We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
currently the rootMarkers/requireMarker filter is:
if dir := matchRootPath(fname, cfg.RootMarkers); dir == "" && cfg.RequireMarker == true {
i think this means: only format / lint if rootMarker EXISTS in any parent dir
rootMarker EXISTS in any parent dir
This request is to add a new feature
if dir := matchParentPath(fname, cfg.ParentMarkers); dir == "" && cfg.RequireParentMarker == true {
such that only format / lint if file is INSIDE a parentMarker dir
file is INSIDE a parentMarker dir
e.g. actionlint should only run for the following parentMarkers = .github/
actionlint
.github/
.github/ - workflows/ - abc.yml -- YES - FUNDING.yml -- YES .vintrc.yml -- NO! not in .github/ .yamllint.yml -- NO
The text was updated successfully, but these errors were encountered:
No branches or pull requests
currently the rootMarkers/requireMarker filter is:
i think this means:
only format / lint if
rootMarker EXISTS in any parent dir
This request is to add a new feature
such that
only format / lint if
file is INSIDE a parentMarker dir
e.g.
actionlint
should only run for the following parentMarkers =.github/
The text was updated successfully, but these errors were encountered: