flymake-json

Homepage: https://github.com/purcell/flymake-json

Author: Steve Purcell

Updated:

Summary

A flymake handler for json using jsonlint

Commentary

This package requires the "jsonlint" program, which can be installed using npm:

   npm install jsonlint -g

Usage:

  (require 'flymake-json)

Then, if you're using `json-mode':

  (add-hook 'json-mode-hook 'flymake-json-load)

or, if you use `js-mode' for json:

  (add-hook 'js-mode-hook 'flymake-json-maybe-load)

otherwise:

  (add-hook 'find-file-hook 'flymake-json-maybe-load)

Uses flymake-easy, from https://github.com/purcell/flymake-easy

Dependencies