Vidar Holen
|
14a38b94cc
|
Update stack resolver
|
2021-11-06 18:59:24 -07:00 |
Vidar Holen
|
71f1db6609
|
Update distro tests
|
2021-11-06 18:21:11 -07:00 |
Vidar Holen
|
bcca66eb6b
|
Update release checklist
|
2021-11-06 15:46:57 -07:00 |
Vidar Holen
|
8db220ae43
|
Include `local -r` in check-extra-masked-returns (fixes #2362)
|
2021-11-06 15:37:59 -07:00 |
Vidar Holen
|
efd49e486f
|
Consider all forms of TA_Assignment to remove spaces (fixes #2364)
|
2021-10-30 17:47:30 -07:00 |
Vidar Holen
|
0dd5c67bdf
|
Warn about [^..] in Dash (fixes #2361)
|
2021-10-21 21:00:39 -07:00 |
Vidar Holen
|
290fc8b945
|
Have quickscripts search for relevant paths (fixes #2286)
|
2021-10-15 18:08:24 -07:00 |
Vidar Holen
|
7b2092b3cd
|
Give more examples of what ShellCheck looks for
|
2021-10-15 15:29:52 -07:00 |
Vidar Holen
|
788aee1b7c
|
Treat typeset similar to declare (fixes #2354)
|
2021-10-15 14:41:48 -07:00 |
Vidar Holen
|
0d128dd918
|
Mention known incompatibilities in man page
|
2021-10-15 12:06:33 -07:00 |
Vidar Holen
|
c3aaa27540
|
Skip SC2214 if variable is modified in loop (fixes #2351)
|
2021-10-09 12:13:41 -07:00 |
Vidar Holen
|
3aedda766d
|
For `while getopts; do case ..` checks, make sure variable matches
|
2021-10-09 11:40:52 -07:00 |
Vidar Holen
|
205ba429b3
|
Warn about `read foo[i]` expanding as glob (fixes #2345)
|
2021-10-07 18:50:44 -07:00 |
Vidar Holen
|
05bdeae3ab
|
Mention require-double-brackets in CHANGELOG
|
2021-10-07 17:26:08 -07:00 |
Vidar Holen
|
38251abe26
|
Add suggestion level in text for TTY output (fixes #2339)
|
2021-10-07 17:14:41 -07:00 |
Vidar Holen
|
6f7eee4a27
|
Mention check-extra-masked-returns in changelog
|
2021-10-02 12:59:55 -07:00 |
Vidar Holen
|
23cddb037e
|
Merge pull request #2320 from DoxasticFox/set-e-proc-sub
Add extra checks for masked return codes
|
2021-10-02 12:52:59 -07:00 |
Christian Nassif-Haynes
|
093df8cb24
|
Add extra checks for masked return codes
|
2021-10-02 01:36:40 +10:00 |
Vidar Holen
|
fac97a5301
|
Don't emit SC2140 when trapped string is /, = or : (fixes #2334)
|
2021-09-25 20:23:58 -07:00 |
Vidar Holen
|
ad92cb4112
|
Disable UUOC for cat with unquoted variable (fixes #2333)
|
2021-09-25 19:46:27 -07:00 |
Vidar Holen
|
3a296cd788
|
The removed check was SC1004, not SC1003
|
2021-09-19 12:27:16 -07:00 |
Vidar Holen
|
db4701d8b5
|
Add a `setgitversion` script to update the version string with git
|
2021-09-18 20:46:46 -07:00 |
Vidar Holen
|
e7df718724
|
Strip lines containing "STRIP" from ./striptests
|
2021-09-18 20:43:42 -07:00 |
Vidar Holen
|
b044f5b23a
|
Don't trigger SC2140 on ${x+"a" "b"} (fixes #2265)
|
2021-09-18 18:59:42 -07:00 |
Vidar Holen
|
8012f6761d
|
Suppress SC2094 when both are input redirections (fixes #2325)
|
2021-09-18 18:00:15 -07:00 |
Vidar Holen
|
2536507060
|
Remove SC1004 (fixes #2326)
|
2021-09-18 17:43:55 -07:00 |
Vidar Holen
|
09aa15c9b7
|
Allow `disable=all` to disable all warnings (fixes #2323)
|
2021-09-18 12:50:01 -07:00 |
Vidar Holen
|
9a54e91195
|
Merge pull request #2318 from FabianWolff/grep-lL-wc-l
Do not suggest `grep -c` as a replacement for `grep -l/-L | wc -l`
|
2021-09-16 19:40:40 -07:00 |
Vidar Holen
|
4e703e5c61
|
Allow specifying external-sources=true in shellcheckrc (fixes #1818)
|
2021-09-15 18:02:37 -07:00 |
Vidar Holen
|
64733cc110
|
Merge pull request #2303 from DoxasticFox/set-e-functions
Show info about `set -e` suppression during function calls
|
2021-09-04 17:06:24 -04:00 |
Christian Nassif-Haynes
|
dc9032fca5
|
Show info about `set -e` suppression during function calls
|
2021-09-05 04:23:25 +10:00 |
Fabian Wolff
|
40216487d6
|
Do not suggest `grep -c` as a replacement for `grep -l/-L | wc -l`
|
2021-09-02 17:47:06 +02:00 |
Vidar Holen
|
747bd8fd6a
|
Warn about strings for numerical operators in [[ ]] (fixes #2312)
|
2021-08-30 19:50:00 -07:00 |
Vidar Holen
|
f5fd9c2fed
|
Improve warnings about unnecessary subshells (fixes #2169)
|
2021-08-30 10:56:55 -07:00 |
Vidar Holen
|
10817533d6
|
Add shellcheck-precommit hook to README.md
|
2021-08-29 17:08:09 -07:00 |
Vidar Holen
|
b5da99c6b0
|
Add pre-commit instructions
|
2021-08-29 12:43:23 -07:00 |
Vidar Holen
|
b0f05018c1
|
Revert "Allow running this repo as a pre-commit hook"
This reverts commit 9d64d78c32 .
|
2021-08-29 12:12:08 -07:00 |
Vidar Holen
|
9d64d78c32
|
Allow running this repo as a pre-commit hook
|
2021-08-28 22:37:22 -07:00 |
Vidar Holen
|
081f7eba24
|
Fix parsing of [$var] (fixes #2309)
|
2021-08-26 23:05:14 -07:00 |
Vidar Holen
|
ecacc2e9bb
|
Merge pull request #2307 from a1346054/fixes
Fix redirect in license file and remove trailing whitespace elsewhere
|
2021-08-26 19:46:16 -07:00 |
Vidar Holen
|
81b7ee5598
|
Don't warn about unused variables starting with _ (fixes #1498)
|
2021-08-26 19:40:21 -07:00 |
Vidar Holen
|
c85ce2cb06
|
Add `rg` to list of commands ignored for SC2016 (fixes #2209)
|
2021-08-26 18:50:40 -07:00 |
a1346054
|
98c7934c46
|
Remove trailing whitespace
|
2021-08-25 16:17:56 +00:00 |
a1346054
|
7384cec3f6
|
Fix redirect in LICENSE file
The file was obtained from:
https://www.gnu.org/licenses/gpl-3.0.txt
|
2021-08-25 14:15:36 +00:00 |
Vidar Holen
|
5b6fd60279
|
Improve warnings for expr (fixes #2033)
|
2021-08-22 21:12:58 -07:00 |
Vidar Holen
|
da7b28213e
|
Recognize wait -p as assigning a variable (fixes #2179)
|
2021-08-17 21:53:27 -07:00 |
Vidar Holen
|
c61fc7546e
|
Don't warn about variables guarded with :+ (fixes #2296)
|
2021-08-17 16:20:32 -07:00 |
Vidar Holen
|
8c0bf8d41f
|
Warn about looping over array values and using them as keys
|
2021-08-17 12:51:27 -07:00 |
Vidar Holen
|
bb0a571a1e
|
Improve warnings for bad parameter expansion (fixes #2297)
|
2021-08-16 21:02:20 -07:00 |
Vidar Holen
|
fed4a048bc
|
Suppress SC2167 when name is "_" (fixes #2298)
|
2021-08-13 23:11:20 -07:00 |