Skip to content

Commit

Permalink
Add pre-commit-config
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin O'Donnell <kevin@blockchaintp.com>
  • Loading branch information
scealiontach committed Feb 19, 2020
1 parent 4d7767b commit c87842a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: /~https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
# - id: check-yaml
- id: check-added-large-files
- id: check-json
- id: check-merge-conflict
- id: detect-aws-credentials
- id: detect-private-key
- id: mixed-line-ending
- repo: /~https://github.com/jumanjihouse/pre-commit-hooks
rev: 1.11.2
hooks:
- id: markdownlint
- id: shellcheck
- id: script-must-have-extension
- id: script-must-not-have-extension
- id: shfmt
- repo: /~https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.7
hooks:
- id: forbid-tabs
# - id: insert-license
#- repo: /~https://github.com/doublify/pre-commit-clang-format
# rev: master
# hooks:
# - id: clang-format

0 comments on commit c87842a

Please sign in to comment.