Skip to content

Commit 77b20ab

Browse files
committed
Disable comments-indentation rule for yamllint
yamllint does not like it when you comment out pieces of dictionaries in lists. Upcoming additions to the Dependabot configuration will run afoul of this so we are updating the yamllint configuration.
1 parent a05b45a commit 77b20ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.yamllint

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
extends: default
33

44
rules:
5+
# yamllint does not like it when you comment out different parts of
6+
# dictionaries in a list. You can see
7+
# https://github.com/adrienverge/yamllint/issues/384 for some examples of
8+
# this behavior.
9+
comments-indentation: disable
10+
511
# yamllint doesn't like when we use yes and no for true and false,
612
# but that's pretty standard in Ansible.
713
truthy: disable

0 commit comments

Comments
 (0)