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

  • 1.0.17
    1.0.16
  • github.​com
  • github.​com
  • 2 months ago
  • 3 hours ago
  • 11 years ago

Installs

  • Total 29K
  • Win 7K
  • Mac 12K
  • Linux 10K
Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 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
Windows 0 3 1 1 2 0 2 0 0 0 2 0 0 0 1 2 0 0 0 0 3 2 0 0 0 0 0 0 1 2 0 0 0 0 0 1 1 0 0 1 0 1 0 0 0 1
Mac 0 1 0 2 1 0 2 0 1 1 0 1 1 3 1 0 2 4 0 3 1 4 0 0 2 0 0 3 1 1 2 2 1 0 1 0 3 0 0 1 2 2 2 0 1 2
Linux 1 1 3 1 2 1 0 2 1 1 0 0 1 1 2 4 2 3 0 1 0 5 2 1 0 2 0 2 1 7 3 5 1 0 1 1 2 0 1 4 3 2 2 4 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-shellcheck

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"]).