Skip to content

fix(yamlfmt): check all local config file variants#15

Closed
asserh wants to merge 1 commit intomainfrom
fix/yaml-config-files
Closed

fix(yamlfmt): check all local config file variants#15
asserh wants to merge 1 commit intomainfrom
fix/yaml-config-files

Conversation

@asserh
Copy link

@asserh asserh commented Feb 12, 2026

yamlfmt script missed some valid file names when checking current dir for local config files

This adds all possible files names mentioned in the docs:
https://github.com/google/yamlfmt/blob/main/docs/config-file.md

Checklist

  • Changes are limited to a single goal (avoid scope creep)
  • I confirm that I have read any Contribution and Development guidelines (CONTRIBUTING and DEVELOPMENT) and are following their suggestions.
  • I confirm that I wrote and/or have the right to submit the contents of my Pull Request, by agreeing to the Developer Certificate of Origin, (adding a 'sign-off' to my commits).

yamlfmt script missed some valid file names when checking current dir for local config files

This adds all possible files names mentioned in the docs:
https://github.com/google/yamlfmt/blob/main/docs/config-file.md

Signed-off-by: Asser Hakala <extern.asser.hakala@digg.se>
@asserh asserh force-pushed the fix/yaml-config-files branch from c0e468f to 920ddea Compare February 12, 2026 09:00
@janderssonse
Copy link
Contributor

Added and rebased in v0.4.1, thanks for contribution!

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

Successfully merging this pull request may close these issues.

2 participants