# SC2155 - Declare and assign separately to avoid masking return values - https://github.com/koalaman/shellcheck/wiki/SC2155 # - used throughout the codebase disable=SC1091,SC2034,SC2064,SC2155 # SC2162 - read without -r will mangle backslashes - https://github.com/koalaman/shellcheck/...
# https://github.com/koalaman/shellcheck/wiki/SC1091 disable=SC1091 # SC2034: foo appears unused. Verify it or export it. # https://www.shellcheck.net/wiki/SC2034 disable=SC2034 # SC1090: Can't follow non-constant source. Use a directive to specify location. # https://www.shellcheck...
Learn more..shellcheckrc 159 B Blame Edit 1 2 3 4 5 6 7 8 9 10 11 # Don't follow source'd scripts disable=SC1090 disable=SC1091 # dash supports 'local' disable=SC2039 disable=SC3043 # dash supports 'echo -n' disable=SC3037...
# Detect Operating System #shellcheckdisable=SC1090 #shellcheckdisable=SC1091 DISTRO=$IDdist-check # Pre 浏览0提问于2020-10-31得票数 -3 1回答 NPX在安装后将二进制文件存储在哪里? 、、 如果我使用npx一次性运行二进制文件,它将输出以下内容: npx my-module /// Hello, from my module! 默认情况下...
Use a directive to specify location - https://github.com/koalaman/shellcheck/wiki/SC1090 # SC1091 - Not following - <https://github.com/koalaman/shellcheck/wiki/SC1091> # SC2034 - Variable appears unused. Verify it or export it - https://github.com/koalaman/shellcheck/wiki/SC2034 # ...
DIR="$(command cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # shellcheck disable=SC1090 # shellcheck disable=SC1090,SC1091 \. "$DIR/nvm.sh" --no-use if [ -n "$NODE_VERSION" ]; then 0 comments on commit ad24e96 Please sign in to comment. Footer...
# shellcheck disable=SC1091 . /lib/lsb/init-functionssubsys=coda-server @@ -30,12 +31,13 @@ config2=/etc/coda/server.conflockfile=/var/lock/subsys/$subsys# shellcheck disable=SC1090 [ -e /etc/sysconfig/$subsys ] && . /etc/sysconfig/$subsysstart () {...
# shellcheck disable=SC1091 source ./lib/i_all.shoutput_css_file="../../css/nerd-fonts-generated.css" @@ -11,17 +12,17 @@ LINE_PREFIX="# [Nerd Fonts] " version="1.2.0"# clear files> "$output_css_file" 2> /dev/null
ShellCheck options You can pass any supported ShellCheck option or flag with theSHELLCHECK_OPTSenv key in the job definition. Some examples include: To disable specific checks (eg:-e SC2059 -e SC2034 -e SC1090) To test against different shells (eg:-s dashor-s ksh) ...
# shellcheck disable=SC1091 This is intentionally using single quotes so that inner $ is treated as a literal $ and not used for string interpolation by the shell. I strongly suspect this change is going to break this line of code otherwise. Copy link Contributor Author vnherdeiro Sep 4,...