Is there a plugin that can lint JSON resources?


(Andrew Pennebaker) #1

I’d like to add a subtask to check to ensure my project’s .json resources are prettified/indented properly. Is there a plugin that can help with that?

(Sterling Greene) #2

Yes, @eriwen has a JS plugin:

It provides a JSHint linting task.

(Sterling Greene) #3

Of course, now I re-read what you posted and you said JSON, not JS. Nevermind. I don’t think Eric’s plugin helps there.

(Andrew Pennebaker) #4

JSON is technically a subset of JS, so with enough configuration…