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 5K
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 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30
Windows 0 3 2 1 2 2 3 1 1 3 0 0 3 7 5 0 0 0 3 6 0 5 1 2 0 2 0 3 1 6 1 3 1 7 5 3 1 1 1 2 3 6 5 3 1 1
OS X 2 6 2 5 5 0 10 8 6 3 2 2 6 3 4 3 1 2 6 5 5 5 2 1 1 6 2 7 6 6 4 3 4 3 9 7 1 2 0 8 9 4 4 6 2 4
Linux 0 3 4 6 6 6 7 14 9 7 2 1 4 3 13 5 1 3 5 5 4 4 8 4 4 2 4 8 5 8 4 5 2 1 0 6 7 8 0 7 8 10 9 6 3 2

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