瀏覽代碼

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

* Automated using https://github.com/myii/ssf-formula/pull/290
tags/v1.2.4
Imran Iqbal 3 年之前
父節點
當前提交
bb42c1b823
沒有連結到貢獻者的電子郵件帳戶。
共有 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 查看文件

@@ -19,8 +19,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

Loading…
取消
儲存