This updates the pre-commit checks to the latest versions of the checks
we're using and fixes a linting issue in our yaml config.
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ib0741cb73f678597576c84c3a1064c88931599d4
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v3.1.0
+ rev: v3.4.0
hooks:
- id: trailing-whitespace
+ - id: no-commit-to-branch
+ args:
+ - --branch=master
+ - --branch=main
- repo: https://github.com/jorisroovers/gitlint
- rev: v0.13.1
+ rev: v0.15.1
hooks:
- id: gitlint
- repo: https://github.com/pre-commit/mirrors-prettier
- rev: v2.1.2
+ rev: v2.2.1
hooks:
- id: prettier
stages: [commit]