2023-05-28 18:03:38 +00:00
|
|
|
---
|
|
|
|
# Based on ansible-lint config
|
|
|
|
extends: default
|
|
|
|
|
|
|
|
rules:
|
|
|
|
braces:
|
|
|
|
max-spaces-inside: 1
|
|
|
|
level: error
|
|
|
|
brackets:
|
|
|
|
max-spaces-inside: 1
|
|
|
|
level: error
|
|
|
|
colons:
|
|
|
|
max-spaces-after: -1
|
|
|
|
level: error
|
|
|
|
commas:
|
|
|
|
max-spaces-after: -1
|
|
|
|
level: error
|
2023-05-28 18:04:41 +00:00
|
|
|
comments: enable
|
2023-05-28 18:03:38 +00:00
|
|
|
comments-indentation: disable
|
2023-05-28 18:04:41 +00:00
|
|
|
document-start: enable
|
2023-05-28 18:03:38 +00:00
|
|
|
empty-lines:
|
|
|
|
max: 3
|
|
|
|
level: error
|
|
|
|
hyphens:
|
|
|
|
level: error
|
2023-05-28 18:04:41 +00:00
|
|
|
indentation: enable
|
2023-05-28 18:03:38 +00:00
|
|
|
key-duplicates: enable
|
2023-05-28 18:04:41 +00:00
|
|
|
line-length:
|
|
|
|
max: 80
|
|
|
|
level: warning
|
|
|
|
new-line-at-end-of-file: enable
|
2023-05-28 18:03:38 +00:00
|
|
|
new-lines:
|
|
|
|
type: unix
|
2023-05-28 18:04:41 +00:00
|
|
|
trailing-spaces: enable
|
|
|
|
truthy:
|
|
|
|
allowed-values:
|
|
|
|
- 'true'
|
|
|
|
- 'false'
|
|
|
|
- 'yes'
|
|
|
|
- 'no'
|