浏览代码

ci(pre-commit): update hook for `rubocop`

* Automated using https://github.com/myii/ssf-formula/pull/290
tags/v0.10.4
Imran Iqbal 3 年前
父节点
当前提交
67c1130d89
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 6 次插入3 次删除
  1. +3
    -3
      .pre-commit-config.yaml
  2. +3
    -0
      CODEOWNERS

+ 3
- 3
.pre-commit-config.yaml 查看文件

@@ -17,8 +17,8 @@ repos:
stages: [manual]
additional_dependencies: ['@commitlint/config-conventional@8.3.4']
always_run: true
- repo: https://github.com/adithyabsk/mirrors-rubocop
rev: v0.91.0
- repo: https://github.com/rubocop-hq/rubocop
rev: v1.9.1
hooks:
- id: rubocop
name: Check Ruby files with rubocop
@@ -33,7 +33,7 @@ repos:
files: ^.*\.(sh|bash|ksh)$
types: []
args: []
- repo: https://github.com/adrienverge/yamllint.git
- repo: https://github.com/adrienverge/yamllint
rev: v1.23.0
hooks:
- id: yamllint

+ 3
- 0
CODEOWNERS 查看文件

@@ -15,8 +15,11 @@
/docs/AUTHORS.rst @saltstack-formulas/ssf
/docs/CHANGELOG.rst @saltstack-formulas/ssf
/docs/TOFS_pattern.rst @saltstack-formulas/ssf
/*/_mapdata/ @saltstack-formulas/ssf
/*/libsaltcli.jinja @saltstack-formulas/ssf
/*/libtofs.jinja @saltstack-formulas/ssf
/test/integration/**/_mapdata_spec.rb @saltstack-formulas/ssf
/test/integration/**/libraries/system.rb @saltstack-formulas/ssf
/test/integration/**/inspec.yml @saltstack-formulas/ssf
/test/integration/**/README.md @saltstack-formulas/ssf
/.gitignore @saltstack-formulas/ssf

正在加载...
取消
保存