Skip to content

Commit

Permalink
Update yamllint to check keys (#43)
Browse files Browse the repository at this point in the history
With the release of yamllint 1.34 we can finally check keys for unneeded quoted strings, see https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst#1340-2024-02-06

It's also already available in Github runners natively, see here https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
  • Loading branch information
dmohns authored Mar 4, 2024
1 parent 54dc4b2 commit addb167
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ rules:
quote-type: double
required: only-when-needed
allow-quoted-quotes: true
check-keys: true
truthy:
check-keys: false

0 comments on commit addb167

Please sign in to comment.