We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f184459 commit a701247Copy full SHA for a701247
.pre-commit-config.yaml
@@ -4,6 +4,15 @@ repos:
4
hooks:
5
- id: stylua-github
6
args: ["--syntax", "Lua54"]
7
+ - repo: https://github.com/koalaman/shellcheck-precommit
8
+ rev: v0.11.0
9
+ hooks:
10
+ - id: shellcheck
11
+ # SC1090: Can't follow non-constant source. Use a directive to specify location.
12
+ # SC1091: Not following: file not found.
13
+ # SC1071: ShellCheck only supports sh/bash/dash/ksh scripts. Sorry!
14
+ args: ["--exclude=SC1090,SC1091,SC1071"]
15
+ files: '.zshrc'
16
- repo: https://github.com/pre-commit/pre-commit-hooks
17
rev: v2.3.0
18
0 commit comments