Skip to content

Commit 06cec90

Browse files
committed
Configure markdownlint and yamllint
1 parent 27f2623 commit 06cec90

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.markdownlint.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
# All defaults or options can be checked here:
3+
# https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.yaml
4+
5+
# Default state for all rules
6+
default: true
7+
8+
# MD013/line-length - Line length
9+
MD013:
10+
# Number of characters
11+
line_length: 9999
12+
# Number of characters for headings
13+
heading_line_length: 9999
14+
# Number of characters for code blocks
15+
code_block_line_length: 9999
16+
17+
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
18+
MD024:
19+
# Only check sibling headings
20+
siblings_only: true

.yamllint.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
extends: default
3+
4+
ignore: |
5+
deploy/helm/**/templates
6+
7+
rules:
8+
line-length: disable
9+
truthy:
10+
check-keys: false
11+
comments:
12+
min-spaces-from-content: 1 # Needed due to https://github.com/adrienverge/yamllint/issues/443

0 commit comments

Comments
 (0)