Hennadii Stepanov
|
17f81e9648
|
script: Enable SC2001 rule for Gitian scripts
|
5 years ago |
Hennadii Stepanov
|
61bb21b418
|
script: Enable SC2155 rule for Gitian scripts
Also pwd command is replaced with $PWD variable everywhere for
consistency.
|
5 years ago |
Hennadii Stepanov
|
577682d9e8
|
script: Enable SC2006 rule for Gitian scripts
|
5 years ago |
Hennadii Stepanov
|
14aded46df
|
script: Lint Gitian descriptors with ShellCheck
|
5 years ago |
Hennadii Stepanov
|
1ac454a384
|
Enable ShellCheck rules
Enabled ShellCheck rules:
SC1087
SC2001
SC2004
SC2005
SC2006
SC2016
SC2028
SC2048
SC2066 (note that IFS already contains only a line feed)
SC2116
SC2166
SC2181
SC2206
SC2207
SC2230
SC2236
|
5 years ago |
practicalswift
|
a517541794
|
Remove no longer needed shellcheck suppressions
|
6 years ago |
practicalswift
|
07a53dce9f
|
Remove repeated suppression. Fix indentation.
|
6 years ago |
Vidar Holen
|
cbd9091ed5
|
refactor/lint: Add ignored suggestions to an array
This avoids duplicating the codes between command and comments.
|
6 years ago |
João Barbosa
|
f652f85d0c
|
qa: Ignore shellcheck warning SC2236
With shellcheck 0.6.0 the warning `SC2236 - Use -n instead of ! -z` is raised.
This change adds that warning to the ignored list.
|
6 years ago |
practicalswift
|
908a559f33
|
macOS fix: Add excludes for checks added in the newer shellcheck version installed by brew
|
6 years ago |
Julian Fleischer
|
83c48d9a1f
|
fix locale for lint-shell
|
6 years ago |
DesWurstes
|
000000035b
|
Obsolete #!/bin/bash shebang
|
7 years ago |
practicalswift
|
3352da8da1
|
Add "export LC_ALL=C" to all shell scripts
|
7 years ago |
MarcoFalke
|
fa3c910bfe
|
test: Move linters to test/lint, add readme
|
7 years ago |