Assuming you’ve got Syntastic installed and operating…
vimrcso vim recognises JSON files.
autocmd 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