$ npm install @putout/formatter-json-lines
🐊Putout formatter output json lines.
npm i putout @putout/formatter-json-lines
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}
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE