浏览代码

chore(yamllint): update ignored paths and add `octal-values`

* Automated using https://github.com/myii/ssf-formula/pull/59
tags/v1.2.1
Imran Iqbal 5 年前
父节点
当前提交
e0aa56f4e1
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      .yamllint

+ 5
- 0
.yamllint 查看文件

@@ -7,9 +7,11 @@ extends: default
# Files to ignore completely
# 1. All YAML files under directory `node_modules/`, introduced during the Travis run
# 2. Any SLS files under directory `test/`, which are actually state files
# 3. Any YAML files under directory `.kitchen/`, introduced during local testing
ignore: |
node_modules/
test/**/states/**/*.sls
.kitchen/

yaml-files:
# Default settings
@@ -28,3 +30,6 @@ rules:
# Increase from default of `80`
# Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
max: 88
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true

正在加载...
取消
保存