Update yamllint.yml
This commit is contained in:
@@ -1,13 +1,45 @@
|
|||||||
# https://yamllint.readthedocs.io/en/stable/configuration.html#default-configuration
|
# https://yamllint.readthedocs.io/en/stable/configuration.html#default-configuration
|
||||||
|
---
|
||||||
|
|
||||||
extends: default
|
yaml-files:
|
||||||
|
- '*.yaml'
|
||||||
|
- '*.yml'
|
||||||
|
- '.yamllint'
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
anchors:
|
anchors:
|
||||||
forbid-undeclared-aliases: true
|
forbid-undeclared-aliases: true
|
||||||
forbid-duplicated-anchors: true
|
forbid-duplicated-anchors: true
|
||||||
|
braces: enable
|
||||||
# 255 chars should be enough, but don't fail if a line is longer
|
brackets: enable
|
||||||
|
colons: enable
|
||||||
|
commas: enable
|
||||||
|
comments:
|
||||||
|
level: warning
|
||||||
|
comments-indentation:
|
||||||
|
level: warning
|
||||||
|
document-end:
|
||||||
|
level: warning
|
||||||
|
document-start:
|
||||||
|
level: warning
|
||||||
|
empty-lines: enable
|
||||||
|
empty-values:
|
||||||
|
level: warning
|
||||||
|
float-values:
|
||||||
|
level: warning
|
||||||
|
hyphens: enable
|
||||||
|
indentation: enable
|
||||||
|
key-duplicates: enable
|
||||||
|
key-ordering:
|
||||||
|
level: warning
|
||||||
line-length:
|
line-length:
|
||||||
max: 200
|
max: 200
|
||||||
#level: warning
|
new-line-at-end-of-file: enable
|
||||||
|
new-lines: enable
|
||||||
|
octal-values:
|
||||||
|
level: warning
|
||||||
|
quoted-strings:
|
||||||
|
level: warning
|
||||||
|
trailing-spaces: enable
|
||||||
|
truthy:
|
||||||
|
level: warning
|
||||||
Reference in New Issue
Block a user