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

Sublime​Linter-json

by SublimeLinter ST3

SublimeLinter plugin for JSON.

Details

Installs

  • Total 76K
  • Win 30K
  • OS X 30K
  • Linux 16K
Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4
Windows 4 44 35 28 23 40 38 41 47 43 29 31 40 56 55 53 40 16 26 27 39 36 24 28 21 23 27 39 47 40 41 25 30 36 34 35 43 48 39 26 38 42 51 54 39 30
OS X 5 36 31 14 20 40 34 30 37 31 18 19 36 36 42 47 29 15 11 27 36 29 25 23 16 16 23 29 35 38 49 27 17 35 31 36 37 34 29 22 33 41 52 34 19 22
Linux 2 19 18 8 13 17 17 15 25 26 9 11 17 11 17 27 21 6 11 19 20 15 17 16 7 9 22 17 14 13 16 9 10 18 16 23 29 19 10 11 30 22 21 32 22 15

Readme

Source
raw.​githubusercontent.​com

SublimeLinter-json

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!