Skip to content

Commit 5044eb2

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

File tree

2 files changed

+20
-0
lines changed

2 files changed

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

0 commit comments

Comments
 (0)