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. gr-simple-submit-rules-label-config/
  2. gr-simple-submit-rules-repo-config/
  3. src/
  4. .gitignore
  5. BUILD
  6. LICENSE
  7. plugin.html
  8. README.md
  9. tests.html
README.md

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.