浏览代码

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

正在加载...
取消
保存