Commit Graph

1685 Commits

Author SHA1 Message Date
gabriele.lana 699aac589a Support for heredoc quoted token like `'"FOO"`
Fixes #1650
2019-10-26 17:36:32 +02:00
gabriele.lana 30c75340e6 Parse regular `for` with body in curly braces
Fixes #1694
2019-10-26 15:41:46 +02:00
Vidar Holen 4dfd7eb1cf Use single quotes for the format string example in SC2059 2019-10-24 10:33:17 -07:00
Merlin Göttlinger 79ba67dbd3
Nix install instructions 2019-10-21 08:04:59 +02:00
Vidar Holen 60f75e5b8a Warn about unexpected characters after ]/]] (fixes #1680) 2019-10-13 20:26:40 -07:00
Vidar Holen f042b0ebd1 Merge branch 'iboss-ptk-read-t-0' 2019-10-12 20:55:32 -07:00
Vidar Holen 764fdcb260 Move failing test to correct check 2019-10-12 20:50:55 -07:00
Vidar Holen 7473d4a743 Make `read -t 0` test more forgiving towards other flags 2019-10-12 20:45:36 -07:00
Vidar Holen 91abd979f2 Merge branch 'read-t-0' of https://github.com/iboss-ptk/shellcheck into iboss-ptk-read-t-0 2019-10-12 20:23:13 -07:00
Vidar Holen afea62de4e Suggest using `$((..))` in `[ 2*3 -eq 6 ]` (fixes #1641) 2019-10-12 19:55:20 -07:00
ryantig fa0f88c106
Update README.md
Repair link to #installing-a-pre-compiled-binary (was pointing to #installing-the-shellcheck-binary)
2019-10-04 11:11:21 -07:00
Supanat Pothivarakorn 7fb399528c Allow `read -t 0` to not require -r flag
since it has specific purpose for checking only
2019-10-02 22:34:43 +07:00
Vidar Holen de9ab4e6ef Fix glob range duplicate warning in [!!] (fixes #1706) 2019-09-28 14:03:11 -07:00
Renato Assis ff1eab286c
add github 2019-09-25 19:20:25 -03:00
Vidar Holen e01c470598 Suggest quoting case patterns, as for SC2053 (fixes #1682) 2019-09-08 20:08:43 -07:00
Glen Mailer 9423691039
Mention the CircleCI shellcheck orb in the README. 2019-08-12 22:24:47 +01:00
Vidar Holen 71a4053e8c Remove _cleanup now that builds don't run in sequence 2019-07-31 21:32:13 -07:00
Vidar Holen 3fdc6babb2 Update TravisCI config for new winghc docker image 2019-07-31 21:16:36 -07:00
Vidar Holen c175971bf0 Make `-f diff` stop saying it found more issues when it didn't. 2019-07-28 20:50:50 -07:00
Vidar Holen b7b4d5d29e Stable version 0.7.0
This release is dedicated to RetroArch: the second best way to make your
PC feel like a 16bit system (right after building ShellCheck with GHC)
2019-07-28 18:12:25 -07:00
Vidar Holen 9cc9a575b2 Tweak man page 2019-07-28 18:12:25 -07:00
Vidar Holen b2dd00e4ee Mention aarch64 and macOS binaries in CHANGELOG 2019-07-28 17:26:31 -07:00
Vidar Holen 2053ac8882 Add a release checklist script 2019-07-28 17:25:30 -07:00
Vidar Holen e4cbf59fda Update distrotest with new image names 2019-07-28 17:10:20 -07:00
Vidar Holen f9c8a255be Set up Travis build matrix 2019-07-24 22:23:47 -07:00
Vidar Holen bfb2d79e54 Merge branch 'master' of github.com:koalaman/shellcheck 2019-07-24 22:00:57 -07:00
Vidar Holen fbb571811f Merge branch 'Luizm-master' 2019-07-24 21:41:24 -07:00
Vidar Holen 0eaef95db8 THIS COMMIT WILL BE FORCE PUSHED AWAY (Help I'm not good with computers) 2019-07-24 21:20:27 -07:00
Vidar Holen f4deac6e43 Merge branch 'master' of https://github.com/Luizm/shellcheck into Luizm-master 2019-07-24 21:02:00 -07:00
Vidar Holen 49aa600c85
Merge pull request #1639 from shak-mar/master
Fix syntax and indentation in shellcheck.1.md
2019-07-24 20:55:03 -07:00
Vidar Holen 25b5b77240 Add automated linux-aarch64 build 2019-07-24 20:03:23 -07:00
LuizMuller ded04820b8
Merge branch 'master' into master 2019-07-24 15:28:03 -03:00
Luizm 7a1fb2523d Add support to compiling a binary for macOS 2019-07-24 14:33:03 -03:00
Vidar Holen 38bb156a1c Warn about $_ in POSIX sh (fixes #1647) 2019-07-21 21:22:16 -07:00
Vidar Holen 023ae5dfda Don't warn about printf '%()T' without corresponding argument 2019-07-20 15:10:41 -07:00
shak-mar e280116ef0 Fix syntax and indentation in shellcheck.1.md
Out of interest, I ran the command

    pandoc -s -f markdown-smart -t man shellcheck.1.md -o shellcheck.1

locally, but that produces warnings (previous to this commit).  Checking
the generated manpage, I found the diff to be rendered very badly.
(Broken at terminal width like a normal paragraph).  This commit fixes
the problem.
2019-07-12 16:52:39 +02:00
Vidar Holen 788cf17076 Fix bad advice for SC2251 (fixes #1588) 2019-07-04 19:10:14 -07:00
Vidar Holen 78b8e76066 Also mention globbing in SC2206 (fixes #1626) 2019-07-04 17:43:18 -07:00
Vidar Holen 914974bd4f Don't consider `.*` a glob-like regex (fixes #1214) 2019-07-04 17:41:23 -07:00
Vidar Holen c0d3a98fcd Add warning for chmod -r (fixes #1321) 2019-07-04 16:54:42 -07:00
Vidar Holen 380221a02c Recognize `read -ra foo` as arrays (fixes #1636) 2019-07-03 20:40:41 -07:00
Vidar Holen ba2c20a08a Improve message for SC1067 2019-07-03 20:02:14 -07:00
Vidar Holen 4d56852b9f Allow SCRIPTDIR in source directives (fixes #1617) 2019-07-03 19:49:47 -07:00
Vidar Holen be1f1c1ab7 Don't count 'readonly x' as a reference to x (fixes #1573) 2019-07-02 20:58:08 -07:00
Vidar Holen bee4303c32 Add an empty Custom.hs to simplify site-specific patching 2019-07-02 20:07:05 -07:00
Vidar Holen ef764b60ca Fix botched variable usage 2019-07-01 23:47:13 -07:00
Vidar Holen 9e6b07dbba Merge branch 'yetamrra-shflags' 2019-07-01 23:23:16 -07:00
Vidar Holen 3e3e4fd0cd Avoid defining flags for non-literal parameters 2019-07-01 23:22:09 -07:00
Vidar Holen 561075ea79 Merge branch 'shflags' of https://github.com/yetamrra/shellcheck into yetamrra-shflags 2019-07-01 20:00:28 -07:00
Vidar Holen 42f0dce467
Merge pull request #1627 from Avi-D-coder/master
Bump stack snapshot
2019-07-01 19:58:25 -07:00