extends: default
|
|
locale: en_US.UTF-8
|
|
yaml-files:
|
- "*.yaml"
|
- "*.yml"
|
- "*.md"
|
|
ignore: |
|
.github/workflows/update-netlify.yml
|
.github/workflows/daily-audit.yml
|
.github/workflows/codeql-analysis.yml
|
.github/dependabot.yml
|
|
# https://yamllint.readthedocs.io/en/stable/rules.html
|
rules:
|
braces: enable
|
brackets: enable
|
colons: enable
|
commas: enable
|
comments:
|
require-starting-space: true
|
ignore-shebangs: true
|
min-spaces-from-content: 1
|
level: warning
|
comments-indentation:
|
level: warning
|
document-end: disable
|
document-start: disable
|
empty-lines:
|
max: 1
|
max-start: 0
|
max-end: 1
|
empty-values: disable
|
hyphens: enable
|
indentation:
|
spaces: consistent
|
indent-sequences: consistent
|
check-multi-line-strings: true
|
key-duplicates: enable
|
key-ordering: disable
|
line-length:
|
max: 80
|
level: warning
|
new-line-at-end-of-file: enable
|
new-lines:
|
type: unix
|
octal-values:
|
forbid-implicit-octal: true
|
forbid-explicit-octal: true
|
quoted-strings:
|
quote-type: double
|
required: false
|
# required: only-when-needed
|
extra-required: ["^http://", "^https://", "^ftp://"]
|
extra-allowed: []
|
trailing-spaces: enable
|
truthy:
|
level: warning
|
check-keys: false
|