ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sublime​Linter

by SublimeLinter ALL Top 25

The code linting framework for Sublime Text 3

Details

Installs

  • Total 2.19M
  • Win 1.15M
  • Mac 629K
  • Linux 405K
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 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3
Windows 117 122 125 79 80 124 146 131 132 130 89 90 143 137 129 113 118 97 97 95 140 180 148 149 100 98 153 129 156 140 130 99 109 100 129 134 182 128 113 99 131 147 163 159 152 76
Mac 66 61 47 33 20 52 54 58 68 53 29 29 54 59 48 66 50 30 35 58 76 74 70 52 41 44 64 68 70 75 46 30 34 58 66 71 71 58 43 32 82 75 70 55 62 27
Linux 54 47 33 45 27 45 44 45 49 35 29 35 46 53 56 59 47 32 36 37 41 54 61 42 27 40 45 56 59 42 43 35 44 47 60 43 52 51 33 33 58 50 52 53 39 58

Readme

Source
raw.​githubusercontent.​com

SublimeLinter

tests

The code linting framework for Sublime Text. No linters included: get them via Package Control.

Installation

Install SublimeLinter and linters via Package Control.

Settings

Settings are mostly documented in the default settings. When you open the SublimeLinter settings you'll see them on the left.

  • Additional information is in our docs at sublimelinter.com.
  • Read about all the changes between 3 and 4 here.

Quick Actions (beta)

We're building a new feature called Quick Actions, that will allow you to quickly ignore specific error messages. At first SublimeLinter will ship actions for eslint, stylelint, flake8, mypy and phpcs.

Want to see actions for your favourite linter? Please open a PR with your addition to quick_fix.py. We have some tests you can add to as well.

Eventually, as this feature becomes more stable, we will expose it as an API so that plugins can add their own actions.

Key Bindings

SublimeLinter comes with some pre-defined keyboard shortcuts. You can customize these via the Package Settings menu.

Command Linux & Windows MacOS
Lint this view CTRL + K, L CTRL + CMD + L
Show all errors CTRL + K, A CTRL + CMD + A
Goto next error CTRL + K, N CTRL + CMD + E
Goto prev error CTRL + K, P CTRL + CMD + SHIFT + E

Support & Bugs

Please use the debug mode and include all console output, and your settings in your bug report. If your issue is specific to a particular linter, please report it on that linter's repository instead.

Creating a linter plugin

Fork the template to get started on your plugin. It contains a howto with all the information you need.