sverweij / dependency-cruiser

Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
https://npmjs.com/dependency-cruiser
MIT License
5.15k stars 249 forks source link

refactor(cli|report): moves responsibility to ensure output ends with an EOL to the individual reporters #908

Closed sverweij closed 7 months ago

sverweij commented 7 months ago

Description

Motivation and Context

Fixes a personal OCD issue where the null reporter emitted an EOL disturbing adding an empty line to the diagnostics reporter (I see that thing a lot ...).

Drawback: this solution is less simple/ elegant than the previous one (see diff).

How Has This Been Tested?

Types of changes

Checklist

codeclimate[bot] commented 7 months ago

Code Climate has analyzed commit cf36cb3a and detected 0 issues on this pull request.

View more on Code Climate.