Browse Source

lint: align yamllint with ansible-lint

Signed-off-by: Kristoffer <kristoffer@weitby.eu>
pull/5432/head
Kristoffer 2 weeks ago
committed by Slavi Pantaleev
parent
commit
88d13ff3d6
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      .yamllint

+ 11
- 0
.yamllint View File

@@ -1,5 +1,16 @@
---
extends: default

# Keep this custom configuration compatible with ansible-lint's `yaml` rule.
# See https://docs.ansible.com/projects/lint/rules/yaml/#yamllint-configuration
rules:
braces:
min-spaces-inside: 0
max-spaces-inside: 1
comments:
min-spaces-from-content: 1
comments-indentation: false
line-length: disable
octal-values:
forbid-explicit-octal: true
forbid-implicit-octal: true

Loading…
Cancel
Save