Commit graph

  • ecd61bfc68
    Merge pull request #1376 from ngzhian/autofix Vidar Holen 2018-12-17 17:24:59 -08:00
  • a8d88dfe98 Fix calculation of changed lines Ng Zhi An 2018-12-17 00:19:49 -08:00
  • 7d2c519d64 Remove spurious new line in fix message Ng Zhi An 2018-12-16 22:17:44 -08:00
  • 3403f8d75b Fix bug in overlap check Ng Zhi An 2018-12-16 11:30:50 -08:00
  • 408a3b99d8 Remove overlaps before applying replacements Ng Zhi An 2018-11-07 22:06:43 -08:00
  • bc111141f8 Move fix application logic to separate module Ng Zhi An 2018-11-02 22:25:51 -07:00
  • 3471ad45b1 Smarter sorting and application of fix to handle multiple replacements Ng Zhi An 2018-11-02 22:13:49 -07:00
  • d5ba41035b Add method to apply a multi-line replacement Ng Zhi An 2018-10-28 11:03:58 -07:00
  • 21462b11b3 Merge branch 'doctest-new-build' of https://github.com/phadej/shellcheck into phadej-doctest-new-build doctest Vidar Holen 2018-12-16 18:33:21 -08:00
  • 88aef838f1 SC1068 (var = x) now alternatively suggests quoting (fixes #1412) Vidar Holen 2018-12-16 15:45:52 -08:00
  • 3d61b73e91 Be more specific about why you should read the wiki page Vidar Holen 2018-12-16 15:14:29 -08:00
  • 138080bdc7 Fix infinite loop on annotations for SC2188 (fixes #1413) Vidar Holen 2018-12-16 14:42:19 -08:00
  • 5b3f17c29d Allow tests to access token positions for fixes Vidar Holen 2018-12-16 13:05:19 -08:00
  • b47e083ee3 Fix 'does not support multiple targets at once' error Vidar Holen 2018-12-16 10:15:03 -08:00
  • 3cba76dc7d Update CHANGELOG with new release and autofix merge Vidar Holen 2018-12-09 14:38:15 -08:00
  • eb588f62f6 Enable autofix support. It's still preliminary. Vidar Holen 2018-12-09 14:59:36 -08:00
  • bcd13614eb Improve Fix memory usage Vidar Holen 2018-10-22 19:39:24 -07:00
  • a8376a09a9 Minor renaming and output fixes Vidar Holen 2018-10-22 18:41:36 -07:00
  • 5ed89d2241 Change definition of Replacement, add ToJSON instance for it Ng Zhi An 2018-10-20 23:20:30 -07:00
  • 4a87d2a3de Expose token positions in params, use that to construct fixes Ng Zhi An 2018-10-20 22:09:42 -07:00
  • 41613babd9 Prototype fix Ng Zhi An 2018-10-13 22:42:04 -07:00
  • cb57b4a74f Stable version 0.6.0 v0.6.0 Vidar Holen 2018-12-02 18:04:59 -08:00
  • e3f0243c0e Add 'striptests' script to Cabal package Vidar Holen 2018-12-02 18:40:56 -08:00
  • 66b5f13c6f Make wiki links fit in 80 columns Vidar Holen 2018-12-02 19:07:45 -08:00
  • a7a404a5a8 Fill in missing bits in CHANGELOG Vidar Holen 2018-12-02 14:49:04 -08:00
  • 0761f5c923
    Merge pull request #1397 from ngzhian/man-en-dash Vidar Holen 2018-12-02 13:56:14 -08:00
  • b55149b22d
    Add man page instructions (fixes #1347) Vidar Holen 2018-12-02 12:29:42 -08:00
  • 4097bb5154 Disable smart typography extension for markdown input Ng Zhi An 2018-11-21 21:36:33 -08:00
  • 1b207b3d43 Preemptively fix possible '-- |' breakage Vidar Holen 2018-11-26 20:43:15 -08:00
  • 135b4aa485 Add stack builds to distro test Vidar Holen 2018-11-26 20:41:29 -08:00
  • cb76951ad2 Add warnings for 'exit' similar to 'return' (fixes #1388) Vidar Holen 2018-11-24 22:56:22 -08:00
  • ebf97a1e0f More warnings for unquoted unary tests Ng Zhi An 2018-11-20 21:51:05 -08:00
  • 705e476e4c
    Merge pull request #1389 from romanzolotarev/patch-1 Vidar Holen 2018-11-15 19:58:30 +11:00
  • e705552c97
    Update README.html Roman Zolotarev 2018-11-15 08:49:26 +00:00
  • 198aa4fc3d
    Merge pull request #1383 from l2dy/master Vidar Holen 2018-11-08 11:13:55 +08:00
  • f4044fbcc7 Fix typo in CHANGELOG Zero King 2018-11-08 03:07:52 +00:00
  • 2827b35696 SC2240: Warn about . script args.. in sh/dash (fixes #1373) Vidar Holen 2018-11-07 17:57:07 -08:00
  • de95c376ea
    Merge pull request #1380 from PeterDaveHello/Update-Dockerfile Vidar Holen 2018-11-08 08:34:21 +08:00
  • 5e1b1e010a Update Docker build-only image to Ubuntu 18.04 Peter Dave Hello 2018-11-02 13:47:22 +08:00
  • 620c9c2023 Also warn about glob matching with [ a != b* ] (fixes #1374) Vidar Holen 2018-11-01 04:47:44 -07:00
  • 359b1467a2 Work around snap's old cabal + new snapcraft proxy. Vidar Holen 2018-10-24 20:33:52 -07:00
  • eb597baa7f Improve Fix memory usage autofix Vidar Holen 2018-10-22 19:39:24 -07:00
  • fa8c2a0fee Minor renaming and output fixes Vidar Holen 2018-10-22 18:41:36 -07:00
  • 279cffd114 Change definition of Replacement, add ToJSON instance for it Ng Zhi An 2018-10-20 23:20:30 -07:00
  • 01fd944168 Expose token positions in params, use that to construct fixes Ng Zhi An 2018-10-20 22:09:42 -07:00
  • 2778d658bf Prototype fix Ng Zhi An 2018-10-13 22:42:04 -07:00
  • df0a0d41fa Add SC1133: Warn when a line starts with |/||/&& (fixes #1359) Vidar Holen 2018-10-21 17:21:08 -07:00
  • b815242506 Improve regex parsing (fixes #1367) Vidar Holen 2018-10-21 14:58:28 -07:00
  • 07b5aa2971 Add SC2239: shebang is not absolute path. Vidar Holen 2018-10-17 20:22:49 -07:00
  • 75949fe51e Change prop> to >>> prop $ Oleg Grenrus 2018-10-17 19:29:04 +03:00
  • f7b82658f4 Add $# to list of variables not containing spaces (fixes #1362) Vidar Holen 2018-10-17 09:00:52 -07:00
  • e0e46e979a Add wiki links to output, and a -W controlling it. (Fixes #920) Vidar Holen 2018-10-10 21:27:52 -07:00
  • 17ef80fa4c
    Remove 'du' from list of non-reading commands Jellyfrog 2018-10-08 16:42:37 +02:00
  • 79319558a5
    Merge pull request #1350 from peti/master Vidar Holen 2018-10-04 20:11:40 -07:00
  • 8d13add1ed Add automated cross-distro testing via Docker Vidar Holen 2018-10-01 17:10:43 -07:00
  • 8940e60300 ShellCheck.cabal: our Setup.hs works fine with Cabal 2.4.x Peter Simons 2018-09-27 17:32:45 +02:00
  • 5f1c969546 getParentTree: avoid pattern matching in do notation Peter Simons 2018-09-27 17:30:41 +02:00
  • dadfdfde97 Don't suggest subshells for cd ..; foo; cd.. Vidar Holen 2018-09-21 21:08:41 -07:00
  • 3e2cb26119 Add SC2238 about redirections to command names Vidar Holen 2018-09-17 17:46:49 -07:00
  • 1a6ae4f19e
    Add plug for shfmt Vidar Holen 2018-09-16 10:56:53 -07:00
  • 95a376aad1 Minor script cleanup Vidar Holen 2018-09-16 10:11:03 -07:00
  • a7bea46ef6
    Merge c9c8de525d into a06d7c1841 Leo Gutiérrez Ramírez 2018-09-15 21:05:36 +00:00
  • c9c8de525d rolling back k&r Leo 2018-09-15 15:02:48 -06:00
  • a06d7c1841
    Merge pull request #1324 from ngzhian/679 Vidar Holen 2018-09-15 12:33:58 -07:00
  • 5202072a34 Add employer mandated disclaimer Vidar Holen 2018-09-06 14:49:59 -07:00
  • 72af1cfd59
    Merge pull request #1331 from federicotdn/patch-1 Vidar Holen 2018-09-15 11:09:04 -07:00
  • 228af7df54
    Merge pull request #1337 from dimo414/master Vidar Holen 2018-09-12 16:01:43 -07:00
  • 6db392511b Expand "rhs"; this abbreviation seems needlessly obfuscating. Michael Diamond 2018-09-12 14:22:40 -07:00
  • d510a3ef6c Guard quickcheck.1 regeneration Oleg Grenrus 2018-09-10 19:41:52 +03:00
  • 5516596b26 Fix quicktest, add note to it and quickrun Oleg Grenrus 2018-09-10 19:08:44 +03:00
  • 9e7539c10b Use native codegen in docker build, results in smaller binary Oleg Grenrus 2018-09-10 19:00:05 +03:00
  • a5a7b332f1 Use LLVM + split-sections Oleg Grenrus 2018-09-10 17:19:31 +03:00
  • a68e3aeb26 Striptests is not necessary anymore Oleg Grenrus 2018-09-10 15:58:49 +03:00
  • 259b1a5dc6 Run tests as doctests Oleg Grenrus 2018-09-10 14:36:49 +03:00
  • a23f46249d changing long options with short options and K&R style Leo 2018-09-09 21:11:43 -06:00
  • 07f04e13ce Understand array variable declaration in read (fixes #679 fixes #1272) Ng Zhi An 2018-08-26 20:51:41 -07:00
  • 3d14d01dad
    Merge 597f8c96cc into f0a2e688c4 Leo Gutiérrez Ramírez 2018-09-07 16:24:23 +00:00
  • 597f8c96cc cleanup leogtzr 2018-09-07 10:19:00 -06:00
  • 493ecd6f73
    Add link to flymake-shellcheck under Emacs section Federico T 2018-09-07 12:37:16 -03:00
  • f0a2e688c4 Don't warn about LINENO since it's now POSIX. Fixes #644 Vidar Holen 2018-09-03 12:33:32 -07:00
  • 0cee8a993d Suggest reading the wiki page in the issue template Vidar Holen 2018-08-28 20:40:33 -07:00
  • 3d03b0ab3b Suggest -z/-n instead of ! -n/-z (fixes #1326). Vidar Holen 2018-08-28 20:15:54 -07:00
  • 488d6dcb41 Improve find leading flag detection (fixes #1312) Vidar Holen 2018-08-26 18:18:57 -07:00
  • d02a9bbcce Account for &&/||/{}/() in SC2233&co (fixes #1320). Vidar Holen 2018-08-26 17:36:10 -07:00
  • 165e408114 Merge branch 'ngzhian-opqaque-interface' Vidar Holen 2018-08-18 20:33:14 -07:00
  • 932e2b3538 Merge branch 'opqaque-interface' of https://github.com/ngzhian/shellcheck into ngzhian-opqaque-interface Vidar Holen 2018-08-18 20:31:54 -07:00
  • 76b1482f64 Avoid using error for option parsing failure Vidar Holen 2018-08-18 20:06:44 -07:00
  • 49250eadae Add --severity to CHANGELOG Vidar Holen 2018-08-18 20:06:31 -07:00
  • 3fe11927bb SQUASH: --severity specifies *minimum* severity to be handled Martin Schwenke 2018-08-17 11:12:24 +10:00
  • b16da4b242 Add command-line option -S/--severity Martin Schwenke 2018-08-12 21:28:48 +10:00
  • c8e0797350 Make data in Interface more opaque Ng Zhi An 2018-07-29 22:50:49 -07:00
  • 87fe5916aa
    Merge 4ed0e447e0 into 15aaacf715 Martin Schwenke 2018-08-17 01:14:49 +00:00
  • 4ed0e447e0 SQUASH: --severity specifies *minimum* severity to be handled Martin Schwenke 2018-08-17 11:12:24 +10:00
  • 15aaacf715 Add test for parsing bitwise not Vidar Holen 2018-08-15 18:30:10 -07:00
  • 1795fdabb3 Add command-line option -S/--severity Martin Schwenke 2018-08-12 21:28:48 +10:00
  • 5ef4229f61 Modernize SC2028 echo escape test Vidar Holen 2018-07-29 09:47:31 -07:00
  • afada43978
    Merge pull request #1311 from ngzhian/1310 Vidar Holen 2018-08-07 18:45:44 -07:00
  • 8be76b13b9 Use regex to match special flags for printf Ng Zhi An 2018-08-05 22:45:24 -07:00
  • 581be5878b Suggest 'cat' when piping/redirecting to echo (fixes #1292) Vidar Holen 2018-07-28 17:26:59 -07:00
  • 0f835a5a2c Don't trigger SC2222 for fallthrough case branches (fixes #1044) Vidar Holen 2018-07-28 12:30:06 -07:00