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).
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
This linter accepts a "strict"
setting, which if false uses Sublime Text's "loose" parser so that trailing comma's and comments are accepted.
"linters": {
"json": {
"strict": false
}
}
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html