We turned Error Prone on by default but you can
easily turn it off by using the Javac option
--extra_checks:off. To do so,
--javacopt='-extra_checks:off' to the list of Bazel's options.
You can also tune the checks error-prone will perform by using the
See the documentation of Error Prone for more on Error Prone.