-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding a yamllint config cribbed from 2i2c
- Loading branch information
1 parent
d7cde6e
commit e0a9d12
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# This config represents running the command `yamllint -d relaxed .` with the | ||
# following extra rules: | ||
# | ||
# new-line-at-end-of-file: | ||
# level: warning | ||
# trailing-spaces: | ||
# level: warning | ||
# | ||
# We also ignore the cookiecutter directories as these often contain | ||
# jinja-style templating functions that yamllint doesn't play nicely with | ||
# | ||
# cribbed from https://github.com/2i2c-org/infrastructure/blob/main/.yamllint.yaml | ||
--- | ||
extends: default | ||
|
||
ignore: | | ||
**/template/** | ||
rules: | ||
braces: | ||
level: warning | ||
max-spaces-inside: 1 | ||
brackets: | ||
level: warning | ||
max-spaces-inside: 1 | ||
colons: | ||
level: warning | ||
commas: | ||
level: warning | ||
comments: disable | ||
comments-indentation: disable | ||
document-start: disable | ||
empty-lines: | ||
level: warning | ||
hyphens: | ||
level: warning | ||
indentation: | ||
level: warning | ||
indent-sequences: consistent | ||
line-length: disable | ||
new-line-at-end-of-file: | ||
level: warning | ||
trailing-spaces: | ||
level: warning | ||
truthy: disable |