Vidar Holen
a404efab65
Merge branch 'issue_837_opposite_of_exclude_option' of https://github.com/Gandalf-/shellcheck
2019-01-22 19:39:55 -08:00
Gandalf-
a89403f09b
Issue 1393 quiet flag
...
Issue https://github.com/koalaman/shellcheck/issues/1393
Provide '-q' and '--quiet' flags that suppress all normal output, but keep the
return status, similar to 'grep -q'.
2019-01-21 18:25:41 -08:00
Gandalf-
59c47f2266
Issue 837 flag to include only certain warnings
...
Issue https://github.com/koalaman/shellcheck/issues/837
Add an --include option, which creates a whitelist of warnings to report
on, the opposite of --exclude.
2019-01-20 16:42:27 -08:00
Vidar Holen
97cb753d21
Recognize --help ( fixes #1441 )
2019-01-05 11:37:05 -08:00
Vidar Holen
e0e46e979a
Add wiki links to output, and a -W controlling it. ( Fixes #920 )
2018-10-10 21:53:43 -07:00
Vidar Holen
932e2b3538
Merge branch 'opqaque-interface' of https://github.com/ngzhian/shellcheck into ngzhian-opqaque-interface
2018-08-18 20:32:27 -07:00
Vidar Holen
76b1482f64
Avoid using `error` for option parsing failure
2018-08-18 20:06:44 -07:00
Martin Schwenke
3fe11927bb
SQUASH: --severity specifies *minimum* severity to be handled
...
Signed-off-by: Martin Schwenke <martin@meltin.net>
2018-08-18 20:05:56 -07:00
Martin Schwenke
b16da4b242
Add command-line option -S/--severity
...
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-18 20:05:56 -07:00
Ng Zhi An
c8e0797350
Make data in Interface more opaque
2018-08-17 22:10:18 -07:00
Ng Zhi An
963b39b002
Allow trailing comma in exclude flag
2018-06-13 22:31:51 -07:00
Vanessa McHale
cf39adff75
bump to latest ghc
2018-04-02 11:44:18 -05:00
Mike Frysinger
161801a86e
convert http:// URIs to https://
...
Also update the ShellCheck homepage to the new dedicated domain.
2017-12-14 01:06:43 -05:00
Vidar Holen
8dd40efb44
Add support for -a: emit for sourced files.
2017-08-13 19:34:45 -07:00
Vidar Holen
73d06c4f47
Autogenerate list of formats for --help
2017-08-06 15:48:59 -07:00
Daniel Hahler
226bc4409c
Use spaces with list of dialects in --help for consistency
2017-08-06 16:25:31 +02:00
Daniel Hahler
4a6acb6ff0
List available output formats in --help output
2017-08-06 16:24:43 +02:00
Vidar Holen
22c86256ac
Decode UTF-8 sequences over 0x10FFFF as latin1
2017-03-10 10:11:05 -08:00
Vidar Holen
46fb91b44d
Manually decode input files as lenient UTF-8.
2017-01-22 15:24:21 -08:00
Vidar Holen
b4390414ef
Fix remaining FIXME for tty error color output.
2015-12-06 12:48:53 -08:00
Vidar Holen
23496e93b0
Fix compiler warning about missing field
2015-12-05 13:08:02 -08:00
David Haguenauer
63ad3f99ad
Shorten long help line
2015-12-04 11:40:52 -05:00
David Haguenauer
0044c3dd6e
Make use of --color with no argument equivalent to --color=always
2015-12-04 10:57:54 -05:00
David Haguenauer
a3d4101d6c
Add initial support for --color
2015-12-03 17:55:56 -05:00
Vidar Holen
f77821625c
Add dash as a first class supported shell.
2015-10-13 11:37:50 -07:00
Vidar Holen
3b36c2c820
Document exit codes in man page.
2015-10-10 19:19:38 -07:00
Vidar Holen
ae4aea4530
Adds support for a SHELLCHECK_OPTS environment variable.
2015-08-22 13:15:10 -07:00
Vidar Holen
f31c8bd3a3
Preliminary support for sourced files.
2015-08-16 17:18:51 -07:00
Vidar Holen
67cfcfd206
Separated formatters into multiple files.
2015-08-15 12:51:13 -07:00
Vidar Holen
72eeafe002
Some cleanup to make room for future improvements.
2015-08-15 09:34:19 -07:00
Vidar Holen
47d68019e5
Fixed exit status for missing files.
2015-08-02 19:13:01 -07:00
Chad Brewbaker
95cfd87589
cleanup
2015-07-23 12:51:38 -05:00
Vidar Holen
3d83b87c9a
Added copyright notice to individual source files.
2015-06-30 19:21:12 -07:00
Vidar Holen
349dfdab35
Relicense from AGPL v3 to GPL v3.
2015-06-20 09:52:07 -07:00
Vidar Holen
7fff088ce9
Don't output ansi escape codes on Windows
2015-06-07 18:08:23 -07:00
Vidar Holen
ed56a837c3
Killed Zsh support
2015-03-20 10:03:56 -07:00
Vidar Holen
cde3ba8769
Add filename to JSON output.
2015-02-13 19:32:20 -08:00
Vidar Holen
6b84b35ec0
Don't crash on empty files with -f gcc.
2014-09-23 10:11:15 -07:00
Vidar Holen
8494509150
Warn about missing shebangs.
2014-08-09 17:32:42 -07:00
Vidar Holen
8ba1f2fdf2
Better handling of directories and inaccessible files.
2014-08-08 09:36:17 -07:00
Vidar Holen
b087b7efb1
Some hlint fixes.
...
Ironically, this is the first time the linter has been linted.
2014-02-16 12:57:34 -08:00
Vidar Holen
4e5d32b05a
Added --version flag
2014-02-03 20:06:59 -08:00
Vidar Holen
4968e7d9ff
Added -s flag to override dialect, e.g. -s ksh
2014-02-02 19:28:09 -08:00
Vidar Holen
fbd85e93ee
Added --exclude to filter out warnings
2013-11-17 13:41:42 -08:00
Vidar Holen
77f754fa32
Replace Prelude.catch with Control.Exception.catch
2013-11-15 17:31:55 -08:00
Vidar Holen
01d557abe6
More discriminating error codes
2013-11-14 22:46:09 -08:00
Vidar Holen
68cc00b6e8
Exit with 1 on comments and 2 on failure
2013-11-14 22:35:38 -08:00
Vidar Holen
8b7c0be06f
gcc output mode now uses a tab width of 1
2013-11-14 22:23:55 -08:00
Vidar Holen
473bb666d8
Support for checkstyle compatible xml output
2013-11-13 22:39:35 -08:00
Vidar Holen
376d407ea1
Added gcc compatible output for editor integrations
2013-11-13 17:28:08 -08:00