mirror of
https://github.com/saltstack-formulas/template-formula.git
synced 2025-04-17 10:10:28 +00:00
chore(pre-commit): check Ruby files using rubocop
This commit is contained in:
parent
5cdefdc6a5
commit
5bccc810ba
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
---
|
||||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
default_stages: [commit]
|
||||
repos:
|
||||
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
||||
rev: v2.2.3
|
||||
|
@ -11,3 +12,8 @@ repos:
|
|||
name: Check commit message against @commitlint/config-conventional rules
|
||||
stages: [commit-msg]
|
||||
additional_dependencies: ['@commitlint/config-conventional@8.3.4']
|
||||
- repo: https://github.com/jumanjihouse/pre-commit-hooks
|
||||
rev: 2.1.3
|
||||
hooks:
|
||||
- id: rubocop
|
||||
exclude: ^Gemfile\.lock$
|
||||
|
|
Loading…
Add table
Reference in a new issue