BUILD file linting is also performed by the buildifier tool:
BUILD
buildifier
Lint warnings are displayed as inline hovers and in the problems panel.