summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-10-22Improve Fix memory usageautofixVidar Holen
2018-10-22Minor renaming and output fixesVidar Holen
2018-10-21Change definition of Replacement, add ToJSON instance for itNg Zhi An
2018-10-21Expose token positions in params, use that to construct fixesNg Zhi An
2018-10-21Prototype fixNg Zhi An
2018-10-21Add SC1133: Warn when a line starts with |/||/&& (fixes #1359)Vidar Holen
2018-10-21Improve regex parsing (fixes #1367)Vidar Holen
2018-10-17Add SC2239: shebang is not absolute path.Vidar Holen
2018-10-17Add $# to list of variables not containing spaces (fixes #1362)Vidar Holen
2018-10-10Add wiki links to output, and a -W controlling it. (Fixes #920)Vidar Holen
2018-10-04Merge pull request #1350 from peti/masterVidar Holen
Fix build with ghc 8.6.1
2018-10-01Add automated cross-distro testing via DockerVidar Holen
2018-09-27ShellCheck.cabal: our Setup.hs works fine with Cabal 2.4.xPeter Simons
2018-09-27getParentTree: avoid pattern matching in do notationPeter Simons
Pattern matching in "do" requires a MonadFail context, which we don't have in pure code. Instead, we'll use "case-of" to bind the part of the state that we're interested in.
2018-09-21Don't suggest subshells for cd ..; foo; cd..Vidar Holen
2018-09-17Add SC2238 about redirections to command namesVidar Holen
2018-09-16Add plug for shfmtVidar Holen
2018-09-16Minor script cleanupVidar Holen
2018-09-15Merge pull request #1324 from ngzhian/679Vidar Holen
Understand array variable declaration in read (fixes #679)
2018-09-15Add employer mandated disclaimerVidar Holen
2018-09-15Merge pull request #1331 from federicotdn/patch-1Vidar Holen
Add link to flymake-shellcheck under Emacs section
2018-09-12Merge pull request #1337 from dimo414/masterVidar Holen
Expand "rhs"; this abbreviation seems needlessly obfuscating.
2018-09-12Expand "rhs"; this abbreviation seems needlessly obfuscating.Michael Diamond
2018-09-08Understand array variable declaration in read (fixes #679 fixes #1272)Ng Zhi An
It used to only treat all trailing variables in read as varaible declarings, but an array variable can be declared in other positions: read -a foo -r foo is a declared variable, and multiple such variables can be declared.
2018-09-07Add link to flymake-shellcheck under Emacs sectionFederico T
I've recently created the flymake-shellcheck package for Emacs, which allows using ShellCheck with the built-in Flymake package.
2018-09-03Don't warn about LINENO since it's now POSIX. Fixes #644Vidar Holen
2018-08-28Suggest reading the wiki page in the issue templateVidar Holen
2018-08-28Suggest -z/-n instead of ! -n/-z (fixes #1326).Vidar Holen
2018-08-26Improve find leading flag detection (fixes #1312)Vidar Holen
2018-08-26Account for &&/||/{}/() in SC2233&co (fixes #1320).Vidar Holen
2018-08-18Merge branch 'ngzhian-opqaque-interface'Vidar Holen
2018-08-18Merge branch 'opqaque-interface' of https://github.com/ngzhian/shellcheck ↵Vidar Holen
into ngzhian-opqaque-interface
2018-08-18Avoid using `error` for option parsing failureVidar Holen
2018-08-18Add --severity to CHANGELOGVidar Holen
2018-08-18SQUASH: --severity specifies *minimum* severity to be handledMartin Schwenke
Signed-off-by: Martin Schwenke <martin@meltin.net>
2018-08-18Add command-line option -S/--severityMartin Schwenke
Specifies the maximum severity of errors to handle. For example, specifying "-S warning" means that errors of severity "info" and "style" are ignored. Signed-off-by: Martin Schwenke <martin@meltin.net>
2018-08-17Make data in Interface more opaqueNg Zhi An
2018-08-15Add test for parsing bitwise notVidar Holen
2018-08-07Modernize SC2028 echo escape testVidar Holen
2018-08-07Merge pull request #1311 from ngzhian/1310Vidar Holen
Use regex to match special flags for printf
2018-08-05Use regex to match special flags for printfNg Zhi An
Fixes #1310
2018-07-28Suggest 'cat' when piping/redirecting to echo (fixes #1292)Vidar Holen
2018-07-28Don't trigger SC2222 for fallthrough case branches (fixes #1044)Vidar Holen
2018-07-26Merge pull request #1302 from pjeby/fix949Vidar Holen
Fix #949 (failing on @ in function names)
2018-07-26Use three instead of two dots in 2006 messageVidar Holen
2018-07-26Retire SC1117 (unknown quoted escapes) due to noiseVidar Holen
2018-07-23Fix #949 (failing on @ in function names)PJ Eby
'@' was previously mentioned in 5005dc0fa1 as a character needed to fix #909, but was not included in the actual change at that time.
2018-07-22Allow directive/-s to override shebang blacklist (fixes #974)Vidar Holen
2018-07-21Add a test for 03ce3b15Vidar Holen
2018-07-21Realign =sVidar Holen