|
|
@@ -4,12 +4,12 @@ default_language_version:
|
|
|
repos:
|
|
|
- repo: https://github.com/commitizen-tools/commitizen
|
|
|
# Please run `pre-commit install --hook-type commit-msg` to check commit messages
|
|
|
- rev: v3.29.1
|
|
|
+ rev: v4.8.2
|
|
|
hooks:
|
|
|
- id: commitizen
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
- rev: v4.6.0
|
|
|
+ rev: v5.0.0
|
|
|
hooks:
|
|
|
- id: check-yaml
|
|
|
- id: end-of-file-fixer
|
|
|
@@ -20,7 +20,7 @@ repos:
|
|
|
args: ["--maxkb=1000"]
|
|
|
|
|
|
- repo: https://github.com/streetsidesoftware/cspell-cli.git
|
|
|
- rev: v8.13.3
|
|
|
+ rev: v9.0.1
|
|
|
hooks:
|
|
|
- id: cspell
|
|
|
name: cspell
|
|
|
@@ -42,7 +42,7 @@ repos:
|
|
|
language: system
|
|
|
always_run: false
|
|
|
pass_filenames: false
|
|
|
- stages: [commit, merge-commit, push, manual]
|
|
|
+ stages: [pre-commit, pre-merge-commit, pre-push, manual]
|
|
|
- id: eslint
|
|
|
name: eslint
|
|
|
entry: npm run lint
|
|
|
@@ -50,7 +50,7 @@ repos:
|
|
|
always_run: false
|
|
|
pass_filenames: false
|
|
|
verbose: true
|
|
|
- stages: [commit, merge-commit, push, manual]
|
|
|
+ stages: [pre-commit, pre-merge-commit, pre-push, manual]
|
|
|
- id: build-frontend
|
|
|
name: Build frontend
|
|
|
entry: npm run build
|
|
|
@@ -58,4 +58,4 @@ repos:
|
|
|
always_run: false
|
|
|
pass_filenames: false
|
|
|
verbose: true
|
|
|
- stages: [commit, merge-commit, push, manual]
|
|
|
+ stages: [pre-commit, pre-merge-commit, pre-push, manual]
|