Skip to content

Commit 975e2d6

Browse files
committed
yamllint config: lint only certain file extensions
also enforce line length of 99
1 parent 37ef4fb commit 975e2d6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.yamllint

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
---
22
extends: default
3+
locale: en_US.UTF-8
4+
yaml-files:
5+
- "*.yaml"
6+
- "*.yml"
7+
- "*.fmf"
38

49
# https://yamllint.readthedocs.io/en/stable/rules.html
510
rules:
@@ -10,4 +15,5 @@ rules:
1015
level: warning
1116
indentation:
1217
spaces: consistent
13-
line-length: disable
18+
line-length:
19+
max: 99

0 commit comments

Comments
 (0)