You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Buildifier doesn't know what the comment describes, it assumes that a comment belongs to the next statement if there are no empty lines between them. Inserting an empty line is the correct workaround.
Buildifier doesn't properly order
load
-statements if there is no newline between the fist statement and a comment string above.Consider the following example:
foo.bzl:
cat foo.bzl | buildifier -mode=fix -lint=fix
The output is:
This problem can be fixed by inserting a newline between the comment and the following line.
I stumble upon this from time to time and just wanted to know, if this is worth getting fixed. If so, I would like to get my hands on this.
Thanks for any feedback or advice
The text was updated successfully, but these errors were encountered: