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

Sublime​Linter-json

by SublimeLinter ST3

SublimeLinter plugin for JSON.

Details

Installs

  • Total 84K
  • Win 34K
  • OS X 33K
  • Linux 17K
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 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
Windows 17 35 24 24 27 39 40 46 35 46 12 21 42 33 48 32 35 22 21 40 35 43 60 25 21 15 57 31 34 47 55 23 23 37 49 43 31 26 23 15 34 45 52 28 36 23
OS X 5 27 24 15 14 30 41 24 35 30 21 18 26 30 38 25 20 10 17 27 32 35 36 28 17 23 35 49 32 38 35 13 17 21 38 25 34 45 21 17 23 35 47 34 26 16
Linux 4 17 16 6 7 23 15 18 15 19 9 8 12 15 12 14 10 14 7 14 21 22 24 16 9 6 17 16 16 34 15 9 15 16 24 15 24 19 11 14 25 20 22 20 12 5

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!