Skip to content

Commit a7e41fb

Browse files
author
Daniel Hoherd
committed
Add yamllint
1 parent 1eec824 commit a7e41fb

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
repos:
2-
- repo: [email protected]:danielhoherd/pre-commit-circleci.git
2+
- repo: [email protected]:danielhoherd/pre-commit-circleci.git
33
rev: v0.0.2
44
hooks:
5-
- id: circleci-validate
5+
- id: circleci-validate
6+
- repo: https://github.com/adrienverge/yamllint.git
7+
rev: v1.13.0
8+
hooks:
9+
- id: yamllint

.yamllint

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# https://yamllint.readthedocs.io/en/stable/configuration.html#default-configuration
2+
extends: default
3+
4+
rules:
5+
braces:
6+
max-spaces-inside: 1
7+
level: error
8+
brackets:
9+
max-spaces-inside: 1
10+
level: error
11+
line-length: disable
12+
truthy: disable

0 commit comments

Comments
 (0)