-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.shellcheckrc
More file actions
19 lines (17 loc) · 1.13 KB
/
.shellcheckrc
File metadata and controls
19 lines (17 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# __ __
# / /____ ___ ____ ___ ___ _/ / This file is provided to you by https://github.com/tegonal/github-commons
# / __/ -_) _ `/ _ \/ _ \/ _ `/ / Copyright 2022 Tegonal Genossenschaft <info@tegonal.com>
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Creative Commons Zero v1.0 Universal
# /___/ Please report bugs and contribute back your improvements
#
# Version: v5.0.2
###################################
# SC2250 = Prefer putting braces around variable references even when not strictly required.
# disable because = IMO without braces reads nicer if not necessary
disable=SC2250
# SC2310 = warn if own function is called in a context which disables set -e
# disable because = we know that set -e is disabled in various scenarios (condition, left of ||, function which calls
# function was used in condition, left of || etc.). We use set -e as a maybe safety net in the sense of, if one
# forgets to handle the error case via `|| ...` (e.g. `|| return $?`) then set -e might do it.... maybe :)
disable=SC2310