Skip to content

Commit 78838be

Browse files
authored
yamllint add rule checking for braces and brackets (#2528)
No changes to the codebase using these two rules and their settings. https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.braces https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.brackets
1 parent 5a2759b commit 78838be

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/linters/.yaml-lint.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@
2020
extends: default
2121

2222
rules:
23-
braces: disable
24-
brackets: disable
23+
braces:
24+
min-spaces-inside: 1
25+
max-spaces-inside: 1
26+
brackets:
27+
min-spaces-inside: 0
28+
max-spaces-inside: 1
2529
comments:
2630
ignore-shebangs: true
2731
min-spaces-from-content: 1

0 commit comments

Comments
 (0)