forge fmt
removes newline from the end of each file
#2667
Labels
Milestone
forge fmt
removes newline from the end of each file
#2667
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (63ed109 2022-08-09T00:03:50.892098571Z)
What command(s) is the bug in?
forge fmt
Operating System
Linux
Describe the bug
forge fmt
leaves all.sol
files without the newline at the end. This makes them non-conformant with POSIX definition of lines of text. It also conflicts with many tools like text editors, which automatically insert the newline at the end of each file. Various code displaying tools likegitk
also treat lack of the newline as an anomaly which needs to be explicitly highlighted, which generates noise.The text was updated successfully, but these errors were encountered: