Bazel: Automatically fix lint errors with buildifier

In recent buildifier versions, lint errors can be fixed automatically:

  $ find . \( -name BUILD -o -name "*.bzl" \) -print \
      | xargs buildifier --lint=fix

This commit was created with Buildifier version 0.22.0:

  $ buildifier --version
buildifier version: 0.22.0
buildifier scm revision: 55b64c3d2ddfb57f06477c1d94ef477419c96bd6

Change-Id: I01c0a9ff5418270e86f3f9206c4c89fa8d174553
1 file changed
tree: 08f40498b4830690b01a2730ab8d7bc1d7a98da5
  1. .gitignore
  2. BUILD
  5. gr-simple-submit-rules-label-config/
  6. gr-simple-submit-rules-repo-config/
  7. plugin.html
  8. src/
  9. tests.html

Simple Submit Rules plugin

Gerrit plugin to provide simple submit rules and a rest API to configure them.

By simple, we mean any rule that can be described in one sentence. Or fits in a tweet.

Having a set of simple rules makes composition easier, thus allowing harder rules to be defined ... in a simple way :)

Of course, this plugin can't contain all the simple rules one can think of, and will only contain rules that seem popular or interesting to have.