Skip to content

Commit d93a566

Browse files
authored
Merge pull request #120 from jvperrin/use-upstream-shell-lint-check
Use the upstream shell-lint check instead of our custom one
2 parents ad52ef4 + 7f4f020 commit d93a566

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,8 @@ repos:
3636
rev: v1.1.6
3737
hooks:
3838
- id: remove-tabs
39-
# TODO: Replace this with the actual repo
40-
# (https://github.com/detailyang/pre-commit-shell)
41-
# once it supports types and not just files ending in shell extensions
42-
- repo: local
39+
- repo: https://github.com/detailyang/pre-commit-shell.git
40+
rev: v1.0.6
4341
hooks:
4442
- id: shell-lint
45-
name: Shell Syntax Check
46-
description: Check Shell Syntax on ALL staged files with user friendly messages and colors
47-
entry: shell-lint.sh
48-
language: script
49-
types: [executable, shell]
43+
exclude: ^(.deactivate.sh)$

shell-lint.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)