Skip to content

Instantly share code, notes, and snippets.

@stuartellis
Created July 19, 2023 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stuartellis/e2e840da2513975cb5e096b9389893c2 to your computer and use it in GitHub Desktop.
Save stuartellis/e2e840da2513975cb5e096b9389893c2 to your computer and use it in GitHub Desktop.
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/adrienverge/yamllint
rev: v1.32.0
hooks:
- args:
- --config-file
- .yamllint.yaml
id: yamllint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-json
exclude: .devcontainer/devcontainer.json
- id: check-merge-conflict
- id: end-of-file-fixer
- id: trailing-whitespace
---
extends: default
ignore:
- terraform1/stacks/definitions/*/.terraform/*
rules:
comments:
ignore: |
*.cc.yml
document-start:
ignore: |
.gitlab-ci.yml
.pre-commit-config.yaml
*.cc.yml
line-length:
ignore: |
.gitlab-ci.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment