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

Sublime​Linter-json

by SublimeLinter ST3

SublimeLinter plugin for JSON.

Details

Installs

  • Total 80K
  • Win 32K
  • OS X 31K
  • Linux 17K
Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6
Windows 27 33 45 48 12 29 51 44 43 36 45 20 25 27 32 44 47 37 26 22 37 43 47 46 30 15 33 33 52 43 37 35 32 26 47 44 45 45 48 18 24 37 41 54 51 33
OS X 17 51 33 40 20 17 29 31 38 35 18 14 23 25 28 33 30 39 19 15 33 28 40 27 42 17 23 35 31 36 39 27 21 16 26 52 45 33 41 20 32 34 35 52 45 38
Linux 20 20 17 11 10 17 26 19 23 13 19 18 9 23 19 18 13 15 12 10 23 24 14 15 15 6 8 22 18 28 18 22 11 13 16 17 20 18 17 9 5 16 14 19 25 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!