Created
March 3, 2024 23:55
-
-
Save elliasmatheus/f47eca2b1ea80cbf02a2c2950f023d01 to your computer and use it in GitHub Desktop.
Precommit
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
| fail_fast: true | |
| repos: | |
| - repo: https://github.com/pre-commit/pre-commit-hooks | |
| rev: v4.4.0 | |
| hooks: | |
| - id: check-added-large-files | |
| args: ['--maxkb=500'] | |
| - id: fix-byte-order-marker | |
| - id: check-case-conflict | |
| - id: check-merge-conflict | |
| - id: check-symlinks | |
| - id: check-ast | |
| - id: check-docstring-first | |
| - id: debug-statements | |
| - id: detect-private-key | |
| - id: check-executables-have-shebangs | |
| files: \.(sh|bash)$ | |
| - id: check-json | |
| - id: check-toml | |
| - id: check-yaml | |
| - id: no-commit-to-branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment