Skip to content

Commit

Permalink
collection: define comments.min-spaces-from-content in .yamllint.yml
Browse files Browse the repository at this point in the history
Also add "require-starting-space: false" because the former triggers 117
violations of "Missing starting space in comment".

Signed-off-by: Bernd Finger <[email protected]>
  • Loading branch information
berndfinger committed Jul 17, 2024
1 parent 20dccf1 commit 3cbff04
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ rules:
brackets: {max-spaces-inside: 1, level: error}
# colons: {max-spaces-after: -1, level: error}
# commas: {max-spaces-after: -1, level: error}
comments: disable
comments:
require-starting-space: false
min-spaces-from-content: 1
comments-indentation: disable
# document-start: disable
# empty-lines: {max: 3, level: error}
Expand Down

0 comments on commit 3cbff04

Please sign in to comment.