Skip to content

Commit

Permalink
Merge pull request #5839 from shaneknapp/add-yamllint-config
Browse files Browse the repository at this point in the history
adding a yamllint config cribbed from 2i2c
  • Loading branch information
shaneknapp authored Jul 3, 2024
2 parents d7cde6e + e0a9d12 commit 59b37ff
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .yamllint.yaml
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

0 comments on commit 59b37ff

Please sign in to comment.