Skip to content

Commit

Permalink
improve yamllint config
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenseitz committed Jun 7, 2023
1 parent af2433d commit 3c5c41e
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
---
# Based on ansible-lint config
extends: default

rules:
braces:
min-spaces-inside: 1
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
comments:
min-spaces-from-content: 1
empty-values: enable
line-length:
max: 160
colons:
max-spaces-after: -1
level: error
commas:
max-spaces-after: -1
level: error
comments: disable
comments-indentation: disable
document-start: disable
empty-lines:
max: 3
level: error
hyphens:
level: error
indentation: disable
key-duplicates: enable
line-length: disable
new-line-at-end-of-file: disable
new-lines:
type: unix
trailing-spaces: disable
truthy: disable

0 comments on commit 3c5c41e

Please sign in to comment.