ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter-shellcheck

by SublimeLinter ST3

This linter plugin for SublimeLinter provides an interface to shellcheck.

Details

Installs

  • Total 14K
  • Win 3K
  • OS X 6K
  • Linux 4K
May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12
Windows 0 2 2 4 2 7 3 2 1 8 3 15 20 6 0 1 1 3 5 8 3 2 2 4 2 6 2 2 1 3 6 4 3 3 1 2 1 1 2 3 4 5 2 1 4 3
OS X 0 4 4 8 3 13 13 4 3 13 11 21 56 21 3 5 7 19 9 3 2 6 4 6 6 6 5 6 7 3 9 10 4 4 5 0 3 5 3 3 5 12 5 3 6 9
Linux 0 3 2 5 6 9 4 4 2 4 10 9 27 10 4 2 3 6 6 8 9 6 4 8 7 7 4 9 1 2 4 4 3 3 7 2 2 0 2 12 11 2 1 1 5 7

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-shellcheck

Build Status

This linter plugin for SublimeLinter provides an interface to shellcheck. It will be used with files that have the “Shell-Unix-Generic” syntax (aka Shell Script (Bash)).

Installation

SublimeLinter must be installed in order to use this plugin.

Please use Package Control to install the linter plugin.

Before using this plugin, ensure that shellcheck is installed on your system. To install shellcheck, follow the instructions on the shellcheck GitHub repository.

shellcheck can be installed with apt-get on Debian sid, brew on Mac OS X, or compiled from its Haskell sources (manually, or through cabal).

On Windows, the Linux Subsystem must be enabled. See Microsoft's guide, then run wsl sudo apt install shellcheck to install Shellcheck (if you installed ubuntu).

On native Linux systems, Please make sure that the path to shellcheck is available to SublimeLinter. The docs cover troubleshooting PATH configuration.

Settings

Additional SublimeLinter-shellcheck settings:

Setting Description
exclude A comma-delimited list of codes to exclude.

E.g. you can use a single string (eg: "SC2034,SC2086"), or an array of strings (eg: ["SC2034", "SC2086"]).