Skip to content

Commit 35febd7

Browse files
author
Gonzalo Diaz
committed
[CONFIG] New config file for yamllint tool
1 parent addb7b9 commit 35febd7

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.yamlignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.trunk/*

.yamllint

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
extends: default
3+
4+
ignore-from-file: .yamlignore
5+
6+
rules:
7+
truthy: disable
8+
comments:
9+
min-spaces-from-content: 1
10+
11+
# yamllint disable rule:line-length
12+
#
13+
# References:
14+
# False positive: interpreting GitHub actions "on:" as a truthy value #430
15+
# https://github.com/adrienverge/yamllint/issues/430
16+
#
17+
# YAML formatting not compliant with yamllint "spaces before comments" requirement #433
18+
# https://github.com/redhat-developer/vscode-yaml/issues/433#issuecomment-1235681987
19+
#
20+
# yamllint enable rule:line-length

0 commit comments

Comments
 (0)