Skip to content

Commit

Permalink
pre-commit: Add checkmake via my fork until mrtazz/checkmake#69 & mrt…
Browse files Browse the repository at this point in the history
…azz/checkmake#70 are merged upstream
  • Loading branch information
trinitronx committed Apr 28, 2022
1 parent 7507a9e commit 6136621
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
exclude: |
(?x)^(
.*\.svg|
assets/.*|
go.mod|
go.sum|
vendor/.*|
tmp/.*
)$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v1.1.1
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: .*\.patch
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.30.0
hooks:
- id: markdownlint
- repo: https://github.com/detailyang/pre-commit-shell.git
rev: 1.0.2
hooks:
- id: shell-lint
args: ["--exclude=SC1090,SC1091,SC2034,SC2039,SC2140,SC2148,SC2153,SC2154,SC2164"]
exclude: |
(?x)^(
assets/.*|
vendor/.*|
tmp/.*
)$
- repo: https://github.com/trinitronx/checkmake.git
rev: 0.2.5
hooks:
- id: checkmake
2 changes: 2 additions & 0 deletions checkmake.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[minphony]
disabled = true

0 comments on commit 6136621

Please sign in to comment.