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 18K
  • Win 4K
  • OS X 8K
  • Linux 6K
Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11
Windows 0 0 2 5 3 1 4 1 2 2 1 0 1 4 0 1 3 6 2 1 2 0 1 1 4 2 2 6 0 2 4 3 5 6 3 1 1 1 3 1 7 2 1 0 5 2
OS X 1 2 3 3 5 4 2 1 1 5 1 9 4 6 1 3 2 1 2 3 5 0 4 3 2 3 7 4 2 3 4 7 4 3 1 3 2 5 4 6 3 6 4 1 2 4
Linux 1 2 3 3 3 5 4 3 0 3 8 4 3 2 2 1 4 6 1 4 4 3 2 4 6 5 6 10 4 3 11 4 6 3 2 3 1 11 6 1 3 3 2 3 5 6

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 either install natively or use the Linux Subsystem. See Microsoft's guide, then run wsl sudo apt update and 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"]).