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

Sublime​Linter-json

by SublimeLinter ST3

SublimeLinter plugin for JSON.

Details

Installs

  • Total 93K
  • Win 38K
  • OS X 36K
  • Linux 19K
Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 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
Windows 32 49 34 40 37 25 23 37 34 33 47 49 32 17 34 33 33 41 39 18 27 31 43 53 26 43 19 29 37 41 36 41 50 21 29 69 79 52 41 23 22 18 45 29 36 22
OS X 23 39 32 28 28 21 21 27 29 29 39 34 25 23 30 30 31 38 37 14 25 20 36 41 28 42 21 16 29 42 32 43 52 23 28 58 62 52 39 25 13 15 25 22 30 37
Linux 19 23 9 22 20 7 8 12 12 8 11 21 10 13 12 22 28 24 12 15 8 11 10 26 18 16 11 16 14 22 14 32 13 13 14 21 31 15 13 10 9 11 16 15 15 12

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-json

Build Status

This linter plugin for SublimeLinter provides an interface to the JSON parser built into Sublime Text. It will be used with files that have the “JSON” syntax.

To facilitate editing Sublime Text settings files, which may contain comments, this linter allows line comments (//) and multiline block comments (/* */), but they may not appear at the end of a line (after JSON data).

Installation

SublimeLinter 3 must be installed in order to use this plugin. If SublimeLinter 3 is not installed, please follow the instructions here.

Please use Package Control to install the linter plugin. This will ensure that the plugin will be updated when new versions are available. If you want to install from source so you can modify the source code, you probably know what you are doing so we won’t cover that here.

To install via Package Control, do the following:

  1. Within Sublime Text, bring up the Command Palette and type install. Among the commands you should see Package Control: Install Package. If that command is not highlighted, use the keyboard or mouse to select it. There will be a pause of a few seconds while Package Control fetches the list of available plugins.

  2. When the plugin list appears, type json. Among the entries you should see SublimeLinter-json. If that entry is not highlighted, use the keyboard or mouse to select it.

Settings

For general information on how SublimeLinter works with settings, please see Settings. For information on generic linter settings, please see Linter Settings.

Contributing

If you would like to contribute enhancements or fixes, please do the following:

  1. Fork the plugin repository.
  2. Hack on a separate topic branch created from the latest master.
  3. Commit and push the topic branch.
  4. Make a pull request.
  5. Be patient. ;-)

Please note that modications should follow these coding guidelines:

  • Indent is 4 spaces.
  • Code should pass flake8 and pep257 linters.
  • Vertical whitespace helps readability, don’t be afraid to use it.

Thank you for helping out!