https://github.com/sublimelinter/sublimelinter-json
SublimeLinter plugin for JSON.
https://github.com/sublimelinter/sublimelinter-json
Last synced: 9 months ago
JSON representation
SublimeLinter plugin for JSON.
- Host: GitHub
- URL: https://github.com/sublimelinter/sublimelinter-json
- Owner: SublimeLinter
- License: mit
- Created: 2013-12-15T21:41:57.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-09-02T11:06:00.000Z (over 1 year ago)
- Last Synced: 2025-04-01T01:23:11.096Z (11 months ago)
- Language: Python
- Size: 21.5 KB
- Stars: 85
- Watchers: 10
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SublimeLinter-json
=========================
[](https://travis-ci.org/SublimeLinter/SublimeLinter-json)
This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to the [JSON parser](http://docs.python.org/3/library/json.html?highlight=json.loads#json.loads) 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 must be installed in order to use this plugin.
Please use [Package Control](https://packagecontrol.io) to install the linter plugin.
## Settings
This linter accepts a `"strict"` setting, which if false uses Sublime Text's "loose" parser so that trailing comma's and comments are accepted.
```json
"linters": {
"json": {
"strict": false
}
}
```
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html