How to set up Syntastic to check JSON files
Assuming you’ve got Syntastic installed and operating…
vimrcso vim recognises JSON files.
~/.vimrcautocmd BufNewFile,BufReadPost *.json set filetype=json
Install the JSON linter:npm install -g jsonlint
There’s no step three.
Actually, I wasn’t completely honest about step three. Setting