瀏覽代碼

lint: align yamllint with ansible-lint

Signed-off-by: Kristoffer <kristoffer@weitby.eu>
pull/5425/head
Kristoffer 1 月之前
父節點
當前提交
855aabbd86
共有 1 個檔案被更改,包括 11 行新增0 行删除
  1. +11
    -0
      .yamllint

+ 11
- 0
.yamllint 查看文件

@@ -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…
取消
儲存