Skip to content

Commit

Permalink
adding pre-commit-config file
Browse files Browse the repository at this point in the history
  • Loading branch information
mclacore committed Oct 4, 2024
1 parent 1d3a8eb commit b83a4cf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-json
exclude: .devcontainer/
- id: pretty-format-json
args: [--autofix, --no-sort-keys, --indent=4]
exclude: .devcontainer/
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: no-commit-to-branch
args: [-b, main]

0 comments on commit b83a4cf

Please sign in to comment.