Skip to content

Commit a4e4e59

Browse files
committed
yamllint config: add comments and disable truthy rule
1 parent 975e2d6 commit a4e4e59

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.yamllint

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ yaml-files:
88

99
# https://yamllint.readthedocs.io/en/stable/rules.html
1010
rules:
11-
comments: disable
12-
comments-indentation: disable
13-
document-start: disable
11+
truthy: disable # do not check for strict true / false boolean values
12+
comments: disable # disable syntax checking of comments
13+
comments-indentation: disable # disable indentation checks for comments
14+
document-start: disable # do not require the document start marker
1415
empty-lines:
15-
level: warning
16+
level: warning # only warn about empty lines
1617
indentation:
17-
spaces: consistent
18+
spaces: consistent # pass lint if spaces are used for indentation and multiple of spaces is consistent through a file
1819
line-length:
19-
max: 99
20+
max: 99 # allow lines up to 99 chars

0 commit comments

Comments
 (0)