dmeranda / demjson

Python module for JSON data encoding, including jsonlint. See the project Wiki here on Github. Also read the README at the bottom of this page, or the project homepage at
http://deron.meranda.us/python/demjson/
Other
302 stars 76 forks source link

trailing whitespace #20

Open jayvdb opened 8 years ago

jayvdb commented 8 years ago

I couldnt see an option for jsonlint to reformat/warn when there is trailing whitespace on each line.

The -F option removes all unnecessary whitespace from a machine readability perspective I want an option to remove all extraneous whitespace from a human readability perspective.

Does that seem to fit within the scope of jsonlint? If so, I'd be happy to take a crack at it.