chore: Fix linter (#360)

This commit is contained in:
Maksym Vlasov 2022-04-13 17:04:07 +03:00 committed by GitHub
commit ac54720b91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0 rev: v4.2.0
hooks: hooks:
# Git style # Git style
- id: check-added-large-files - id: check-added-large-files
@ -13,6 +13,7 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
args: [--markdown-linebreak-ext=md] args: [--markdown-linebreak-ext=md]
exclude: CHANGELOG.md
- id: check-yaml - id: check-yaml
- id: check-merge-conflict - id: check-merge-conflict
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
@ -29,7 +30,7 @@ repos:
- repo: https://github.com/jumanjihouse/pre-commit-hooks - repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 2.1.5 rev: 2.1.6
hooks: hooks:
- id: shfmt - id: shfmt
args: ['-l', '-i', '2', '-ci', '-sr', '-w'] args: ['-l', '-i', '2', '-ci', '-sr', '-w']
@ -37,7 +38,7 @@ repos:
# Dockerfile linter # Dockerfile linter
- repo: https://github.com/hadolint/hadolint - repo: https://github.com/hadolint/hadolint
rev: v2.8.0 rev: v2.10.0
hooks: hooks:
- id: hadolint - id: hadolint
args: [ args: [