diff options
| author | Colin Wilk <colin@wilk.cx> | 2026-07-03 20:15:09 +0200 |
|---|---|---|
| committer | Colin Wilk <colin@wilk.cx> | 2026-07-03 20:15:09 +0200 |
| commit | 9368443af5c0cdfbadbd54f92814dadce1c4e663 (patch) | |
| tree | 8bfd750d7c4623c52adc775f51468bced1a01d5e /.yamllint | |
| parent | 7074302088d7283181f03c8ad3108322b9033bc3 (diff) | |
| download | ansible-role-prometheus-target-9368443af5c0cdfbadbd54f92814dadce1c4e663.tar.gz ansible-role-prometheus-target-9368443af5c0cdfbadbd54f92814dadce1c4e663.zip | |
refactor: bump and fix pre-commit errors
Diffstat (limited to '.yamllint')
| -rw-r--r-- | .yamllint | 63 |
1 files changed, 15 insertions, 48 deletions
@@ -1,52 +1,19 @@ -# https://yamllint.readthedocs.io/en/stable/rules.html --- -rules: - quoted-strings: - quote-type: single - required: only-when-needed - - colons: - max-spaces-before: 0 - max-spaces-after: 1 - - commas: - max-spaces-before: 0 - min-spaces-after: 1 - max-spaces-after: 1 +extends: default +rules: comments: - require-starting-space: true - ignore-shebangs: true min-spaces-from-content: 1 - - document-end: - present: false - - document-start: - present: true - - empty-lines: - max: 2 - max-start: 0 - max-end: 0 - - empty-values: - forbid-in-block-mappings: true - forbid-in-flow-mappings: true - - float-values: - require-numeral-before-decimal: true - - hyphens: - max-spaces-after: 1 - - indentation: - spaces: 2 - indent-sequences: true - check-multi-line-strings: false - - trailing-spaces: {} - - truthy: - allowed-values: ['true', 'false'] - check-keys: true + comments-indentation: false + document-start: disable + line-length: + max: 160 + braces: + min-spaces-inside: 0 + max-spaces-inside: 1 + octal-values: + forbid-implicit-octal: true + forbid-explicit-octal: true + quoted-strings: + quote-type: double + required: only-when-needed |