Skip to content

Commit 1219c1d

Browse files
committed
Update yamllint config
1 parent 56d1839 commit 1219c1d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ repos:
199199
- id: yamllint
200200
name: ✅ YAMLlint - YAML Linter
201201
description: A linter for YAML files.
202-
args: [-d, relaxed]
202+
args: [ -c, .yamllint ]
203203

204204
# - repo: https://github.com/igorshubovych/markdownlint-cli
205205
# rev: v0.45.0

.yamllint

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
extends: relaxed # start from the built-in relaxed preset
2+
rules:
3+
line-length:
4+
max: 200 # allow lines up to 200 chars
5+
level: warning # keep it a warning (default); use "error" to fail

0 commit comments

Comments
 (0)