Skip to content

Commit

Permalink
add: docker pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
a5chin committed Dec 2, 2024
1 parent 97a10e4 commit 08d911f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,13 @@ repos:
- id: terraform_tflint
name: terraform-lint
description: "Run tflint"

- repo: https://github.com/hadolint/hadolint
rev: v2.12.0
hooks:
- id: hadolint
name: Lint Dockerfiles
description: Runs hadolint to lint Dockerfiles
language: system
types: ["dockerfile"]
entry: hadolint

0 comments on commit 08d911f

Please sign in to comment.