Skip to content

Commit

Permalink
feat: add pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hugginsio committed Nov 19, 2023
1 parent 3ca4ec7 commit 838cedf
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# https://pre-commit.com
# yaml-language-server: $schema=https://json.schemastore.org/pre-commit-config.json

repos:
- repo: local
hooks:
- id: prevent-bruno-env
name: Check for private Bruno env
entry: prevent-bruno-env
language: fail
files: 'bruno/.env$'
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace

0 comments on commit 838cedf

Please sign in to comment.