3.0.0 ā€¢ Published 2 years ago

@putout/formatter-json-lines v3.0.0

Weekly downloads
827
License
MIT
Repository
github
Last release
2 years ago

@putout/formatter-json-lines NPM version

šŸŠPutout formatter output json lines.

Install

npm i putout @putout/formatter-json-lines

Usage

putout --format json-lines lib

Result example:

 {"name":"hello.js","source":"const t = 'hello';\n\n","places":[{"rule":"remove-unused-variables","message":"\"t\" is defined but never used","position":{"line":1,"column":6}}],"index":0,"count":2,"filesCount":1,"errorsCount":1}
 {"name":"world.js","source":"const t = 'world';\n\n","places":[{"rule":"remove-unused-variables","message":"\"t\" is defined but never used","position":{"line":1,"column":6}}],"index":1,"count":2,"filesCount":2,"errorsCount":2}

License

MIT