Eisuke Kawashima
|
c0f1265fa0
|
feat(SC2232): add more shell builtins
|
2025-07-20 08:02:13 +09:00 |
|
Vidar Holen
|
6a758d5dc7
|
Update with new Bash 5.3 printf formats
|
2025-07-17 10:53:05 -07:00 |
|
Joseph C. Sible
|
26b949b9b0
|
Use mapM_ instead of isJust and fromJust
|
2024-12-13 23:45:32 -05:00 |
|
Vidar Holen
|
d80fdfa9e8
|
Add extended-analysis directive to toggle DFA
|
2024-02-03 16:11:39 -08:00 |
|
Joseph C. Sible
|
a786f996a1
|
Replace !!! with pattern-matching where it's easy
|
2023-12-31 15:55:06 -05:00 |
|
Joseph C. Sible
|
add49cda17
|
Make getPath return a NonEmpty
|
2023-12-31 02:12:58 -05:00 |
|
Joseph C. Sible
|
3bd7df955b
|
Use a pattern match instead of null and head in checkCommand
|
2023-12-29 14:18:42 -05:00 |
|
Joseph C. Sible
|
bfe4342697
|
Remove unnecessary partiality from check
|
2023-12-19 02:30:48 -05:00 |
|
Joseph C. Sible
|
f242922a2e
|
Use onlyLiteralString in more places
|
2023-12-19 00:00:32 -05:00 |
|
Grische
|
1e1045e73e
|
make busybox sh Dash-like
|
2023-11-27 13:01:22 +01:00 |
|
Vidar Holen
|
8c5fdc3522
|
Update copyright years
|
2022-12-12 21:49:19 -08:00 |
|
Vidar Holen
|
ea4e0091c7
|
Additionally pluralize 'arguments' in SC2183
|
2022-07-23 15:38:42 -07:00 |
|
Vidar Holen
|
81d9f7e640
|
Merge branch 'grammer_fix_sc2183' of https://github.com/ygeyzel/shellcheck into ygeyzel-grammer_fix_sc2183
|
2022-07-23 15:34:22 -07:00 |
|
ygeyzel
|
f7857028f7
|
Add escape characters to SC2028: \a, \b, \e, \f, \v, \\, \', \OOO, \xHH
|
2022-07-23 19:28:37 +03:00 |
|
Vidar Holen
|
2f28847b08
|
Normalize spaces around = in unit tests
|
2022-07-22 16:35:14 -07:00 |
|
Vidar Holen
|
9caeec104b
|
SC2318: Warn about backreferencing in declare x=1 y=$x (fixes #1653)
|
2022-07-22 12:40:59 -07:00 |
|
Vidar Holen
|
95b3cbf071
|
Qualify Data.Map as M instead of tedious Map
|
2022-07-22 11:11:09 -07:00 |
|
Vidar Holen
|
f77a545282
|
Control Flow Graph / Data Flow Analysis support
|
2022-07-20 08:08:24 -07:00 |
|
ygeyzel
|
7ceb1f1519
|
SC2183 grammer fix: 'variable' instead of 'variables' if only one variable
|
2022-07-17 21:46:42 +03:00 |
|
Vidar Holen
|
fd595d1058
|
Only trigger SC2316 on unquoted words.
|
2022-05-06 10:06:12 -07:00 |
|
Patrick Xia
|
fa15c0a454
|
add SC2316: error on multiple declarations like 'readonly local'
|
2022-05-05 16:19:07 -07:00 |
|
Vidar Holen
|
88cdb4e2c9
|
Warn about spaces around = in alias (fixes #2442)
|
2022-02-03 19:23:46 -08:00 |
|
Ville Skyttä
|
c5de58ae84
|
Comment spelling fixes
|
2021-11-13 12:50:53 +02:00 |
|
Vidar Holen
|
3b6972fbf1
|
Update copyright years
|
2021-11-06 19:07:34 -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 |
|
Christian Nassif-Haynes
|
093df8cb24
|
Add extra checks for masked return codes
|
2021-10-02 01:36:40 +10:00 |
|
Vidar Holen
|
081f7eba24
|
Fix parsing of [$var] (fixes #2309)
|
2021-08-26 23:05:14 -07: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
|
e5745568e8
|
Extend warnings about spaces around = to 'let'
|
2021-08-08 15:48:50 -07:00 |
|
Vidar Holen
|
a44f3edb14
|
Warn about eval'ing arrays
|
2021-07-30 18:46:19 -07:00 |
|
Vidar Holen
|
754ab22d94
|
Warn about unquoted blanks in echo (fixes #377)
|
2021-07-26 18:59:33 -07:00 |
|
Vidar Holen
|
44471b73cc
|
Have SC2155 trigger on 'typeset' as well (fixes #2262)
|
2021-07-25 17:34:14 -07:00 |
|
Vidar Holen
|
9eb63c97e6
|
Re-add warnings about 'declare var = value' (fixes #2279)
|
2021-07-24 13:25:56 -07:00 |
|
Matthias Diener
|
087865c680
|
Clarify 'which'
|
2021-03-20 20:43:18 -05:00 |
|
Vidar Holen
|
15ff87cf80
|
Merge pull request #2119 from josephcsible/refactors
Various refactorings
|
2021-02-02 18:14:27 -08:00 |
|
Vidar Holen
|
9584266a8b
|
Escape control characters when adding user data to messages
|
2020-12-31 12:28:48 -08:00 |
|
Joseph C. Sible
|
2cfd1f2714
|
Fuse maps
|
2020-12-28 18:13:34 -05:00 |
|
Joseph C. Sible
|
8480563672
|
Use syntactic sugar instead of building lists by hand
|
2020-12-28 18:13:34 -05:00 |
|
Joseph C. Sible
|
0607039d41
|
Simplify actualArgs
|
2020-12-28 17:21:47 -05:00 |
|
Vidar Holen
|
3104cec770
|
SC2267: Warn about xargs -i (fixes #2058)
|
2020-10-18 22:10:14 -07:00 |
|
Vidar Holen
|
f100c2939e
|
Rewrite getopts style option parser
|
2020-10-18 21:34:58 -07:00 |
|
Vidar Holen
|
14e6806092
|
Handle literal linefeeds in printf format strings (fixes #2007)
|
2020-07-25 17:36:22 -07:00 |
|
Vidar Holen
|
75863a887e
|
Merge pull request #1918 from josephcsible/getsuspiciousregexwildcard
Clean up and optimize getSuspiciousRegexWildcard
|
2020-04-12 15:32:00 -07:00 |
|
Vidar Holen
|
58d3e50f43
|
Merge pull request #1905 from josephcsible/skiprepeating
Make skipRepeating lazier and faster
|
2020-04-12 15:21:39 -07:00 |
|
Vidar Holen
|
73cc11fd0a
|
Merge pull request #1901 from josephcsible/bracedstring
Mostly get rid of bracedString
|
2020-04-12 15:14:50 -07:00 |
|
Joseph C. Sible
|
163c710ba7
|
Clean up and optimize getSuspiciousRegexWildcard
|
2020-04-12 16:15:45 -04:00 |
|
Joseph C. Sible
|
999b7e2596
|
Get rid of bracedString everywhere it's easy to
|
2020-04-11 19:24:11 -04:00 |
|