Created
April 24, 2024 07:57
-
-
Save marcusramberg/21c4a7c151d4f3b15c8fff7ebdb26dbf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# See https://pre-commit.com for more information | |
# See https://pre-commit.com/hooks.html for more hooks | |
default_install_hook_types: [pre-commit, commit-msg] | |
repos: | |
- repo: https://github.com/python-jsonschema/check-jsonschema | |
rev: 0.28.1 | |
hooks: | |
- id: check-github-workflows | |
- id: check-renovate | |
- id: check-cloudbuild | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v4.5.0 | |
hooks: | |
- id: trailing-whitespace | |
- id: end-of-file-fixer | |
- id: no-commit-to-branch | |
- repo: https://github.com/antonbabenko/pre-commit-terraform | |
rev: v1.88.4 | |
hooks: | |
- id: terraform_fmt | |
- id: terraform_tflint | |
- repo: https://github.com/compilerla/conventional-pre-commit | |
rev: v3.2.0 | |
hooks: | |
- id: conventional-pre-commit | |
stages: [commit-msg] | |
args: [feat, fix, fixup, docs, perf, refactor, test, security, chore] | |
- repo: https://github.com/shellcheck-py/shellcheck-py | |
rev: v0.8.0.4 | |
hooks: | |
- id: shellcheck | |
exclude: ^images/cache/ | |
- repo: https://github.com/charliermarsh/ruff-pre-commit | |
rev: 'v0.3.4' | |
hooks: | |
- id: ruff | |
args: [--fix, --exit-non-zero-on-fix] | |
- id: ruff-format | |
- repo: https://github.com/DavidAnson/markdownlint-cli2 | |
rev: 'v0.12.1' | |
hooks: | |
- id: markdownlint-cli2 | |
args: [--fix] | |
additional_dependencies: | |
- markdownlint-cli2-formatter-pretty | |
- repo: https://github.com/codespell-project/codespell | |
rev: v2.2.6 | |
hooks: | |
- id: codespell | |
args: [--write-changes] | |
additional_dependencies: | |
- tomli | |
- repo: https://github.com/hadolint/hadolint | |
rev: v2.12.0 | |
hooks: | |
- id: hadolint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment