Skip to content

Commit

Permalink
test: bump shellcheck severity to warning + some disables
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Apr 12, 2020
1 parent 1d3add4 commit a6cd66c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
hooks:
- id: shellcheck
args: [
-S, error, # https://github.com/koalaman/shellcheck/issues/1554
-S, warning, # https://github.com/koalaman/shellcheck/issues/1554
-f, gcc,
]
types: [text]
Expand Down
4 changes: 4 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
shell=bash
disable=SC1090 # not really fixable usually (ever?)
disable=SC2034 # for localizing variables set in called functions
disable=SC2053 # TODO
disable=SC2128 # intentional style choice
disable=SC2155 # TODO
disable=SC2206 # suggested alternatives fail in posix mode or use temp files
disable=SC2207 # suggested alternatives fail in posix mode or use temp files

0 comments on commit a6cd66c

Please sign in to comment.