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

Sublime​Linter-json

by SublimeLinter ST3

SublimeLinter plugin for JSON.

Details

Installs

  • Total 86K
  • Win 35K
  • OS X 33K
  • Linux 18K
Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9
Windows 21 15 43 36 27 13 26 32 30 31 30 38 17 31 32 45 27 38 34 18 21 37 31 31 34 29 16 17 39 36 29 35 24 24 27 39 40 46 35 46 12 21 42 33 48 32
OS X 15 29 28 37 21 19 21 22 31 40 25 22 12 15 15 26 34 38 22 15 20 38 38 30 37 25 14 19 38 38 29 27 24 15 14 30 41 24 35 30 21 18 26 30 38 25
Linux 3 16 21 20 16 9 10 17 15 9 21 13 11 15 24 37 18 13 10 11 7 12 24 25 14 9 7 7 13 18 17 17 16 6 7 23 15 18 15 19 9 8 12 15 12 14

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!