Skip to content

Commit 869686b

Browse files
author
a.b.christie
committed
ci: More lint fixes
1 parent cd7ec45 commit 869686b

2 files changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@ jobs:
2727
env:
2828
VALIDATE_CHECKOV: false
2929
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
30+
VALIDATE_MARKDOWN_PRETTIER: false
31+
VALIDATE_YAML_PRETTIER: false
3032
# To report GitHub Actions status checks
3133
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.yamllint

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
yaml-files:
3+
- '*.yaml'
4+
- '*.yml'
5+
- '.yamllint'
6+
7+
ignore: |
8+
.github/
9+
10+
rules:
11+
indentation:
12+
spaces: 2
13+
indent-sequences: no
14+
trailing-spaces: {}
15+
truthy:
16+
allowed-values:
17+
- 'yes'
18+
- 'no'
19+
- 'true'
20+
- 'false'
21+
new-lines:
22+
type: unix
23+
new-line-at-end-of-file: enable
24+
key-duplicates: {}
25+
hyphens:
26+
max-spaces-after: 1
27+
empty-lines:
28+
max: 2
29+
document-start:
30+
present: yes
31+
document-end:
32+
present: no
33+
colons:
34+
max-spaces-before: 0
35+
max-spaces-after: 1
36+
commas:
37+
max-spaces-before: 0
38+
min-spaces-after: 1
39+
max-spaces-after: 1

0 commit comments

Comments
 (0)