forked from derivative-maker/derivative-maker
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.shellcheckrc
More file actions
23 lines (22 loc) · 841 Bytes
/
.shellcheckrc
File metadata and controls
23 lines (22 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Project-wide shellcheck configuration.
# Disable warnings that produce noise without bug-finding value in this
# codebase:
#
# SC2154 - vars referenced but not assigned. Most of the tree sources
# help-steps/colors and help-steps/variables, which export many vars.
# shellcheck does not follow those sources reliably (vars are loaded
# at runtime, paths are computed from $BASH_SOURCE), so almost every
# script trips this.
#
# SC2034 - vars assigned but appear unused. Many "config flags" are
# read by sourced child scripts; shellcheck cannot see that across
# file boundaries.
#
# SC1090 - "Can't follow non-constant source." Unavoidable wherever
# source paths are computed from $BASH_SOURCE / $MYDIR / $dist_*.
#
# SC1091 - "Not following: file not included". Same reason.
disable=SC2154
disable=SC2034
disable=SC1090
disable=SC1091