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