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.16
    1.0.15
  • github.​com
  • github.​com
  • 6 years ago
  • 17 minutes ago
  • 11 years ago

Installs

  • Total 28K
  • Win 6K
  • Mac 12K
  • Linux 10K
Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22
Windows 1 1 0 0 1 0 1 0 0 0 0 0 2 4 1 2 0 2 1 1 0 0 0 1 0 2 1 0 0 1 0 2 0 0 1 0 0 2 3 1 1 0 0 1 0 3
Mac 0 0 2 1 0 3 3 3 0 0 1 0 2 0 0 0 1 0 3 1 2 0 0 1 0 2 0 0 2 0 1 0 0 1 1 0 0 1 3 0 1 2 2 0 4 3
Linux 0 4 3 2 2 1 2 1 1 2 0 2 3 2 0 2 0 1 1 1 1 1 1 3 4 1 3 2 1 0 1 2 2 2 4 4 0 1 1 4 0 0 1 1 2 3

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