Page MenuHomePhabricator

[LINTER] Remove empty lines at the beginning of a block
ClosedPublic

Authored by Fabien on Dec 18 2019, 09:43.

Details

Summary
Test Plan

Return no error:

arc lint --everything

Edit src/init.cpp and add an empty newline after any opening block.

arc lint -- src/init.cpp

Check the linter proposes to remove the newline.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Now I want my god damn braces added automagically!

This revision is now accepted and ready to land.Dec 18 2019, 17:16