tools/BUILD: Sort errorprone rules alphabetically

Change-Id: I006940eb8a7710d5b8ea66c6f805f0dd08e62a31
This commit is contained in:
Matthias Sohn 2023-09-16 11:28:01 +02:00
parent 136b8953e2
commit d65170603f
1 changed files with 7 additions and 7 deletions

View File

@ -34,10 +34,6 @@ java_package_configuration(
name = "error_prone", name = "error_prone",
javacopts = [ javacopts = [
"-XepDisableWarningsInGeneratedCode", "-XepDisableWarningsInGeneratedCode",
"-Xep:MissingCasesInEnumSwitch:ERROR",
"-Xep:ReferenceEquality:WARN",
"-Xep:StringEquality:WARN",
"-Xep:WildcardImport:ERROR",
"-Xep:AmbiguousMethodReference:ERROR", "-Xep:AmbiguousMethodReference:ERROR",
"-Xep:BadAnnotationImplementation:ERROR", "-Xep:BadAnnotationImplementation:ERROR",
"-Xep:BadComparable:WARN", "-Xep:BadComparable:WARN",
@ -66,6 +62,7 @@ java_package_configuration(
"-Xep:JUnit3FloatingPointComparisonWithoutDelta:ERROR", "-Xep:JUnit3FloatingPointComparisonWithoutDelta:ERROR",
"-Xep:JUnitAmbiguousTestClass:ERROR", "-Xep:JUnitAmbiguousTestClass:ERROR",
"-Xep:LiteralClassName:ERROR", "-Xep:LiteralClassName:ERROR",
"-Xep:MissingCasesInEnumSwitch:ERROR",
"-Xep:MissingFail:ERROR", "-Xep:MissingFail:ERROR",
"-Xep:MissingOverride:ERROR", "-Xep:MissingOverride:ERROR",
"-Xep:MutableConstantField:WARN", "-Xep:MutableConstantField:WARN",
@ -78,20 +75,23 @@ java_package_configuration(
"-Xep:OperatorPrecedence:ERROR", "-Xep:OperatorPrecedence:ERROR",
"-Xep:OverridesGuiceInjectableMethod:ERROR", "-Xep:OverridesGuiceInjectableMethod:ERROR",
"-Xep:PreconditionsInvalidPlaceholder:ERROR", "-Xep:PreconditionsInvalidPlaceholder:ERROR",
"-Xep:ProtoFieldPreconditionsCheckNotNull:ERROR",
"-Xep:ProtocolBufferOrdinal:ERROR", "-Xep:ProtocolBufferOrdinal:ERROR",
"-Xep:ProtoFieldPreconditionsCheckNotNull:ERROR",
"-Xep:ReferenceEquality:WARN",
"-Xep:RequiredModifiers:ERROR", "-Xep:RequiredModifiers:ERROR",
"-Xep:ShortCircuitBoolean:ERROR", "-Xep:ShortCircuitBoolean:ERROR",
"-Xep:SimpleDateFormatConstant:ERROR", "-Xep:SimpleDateFormatConstant:ERROR",
"-Xep:StaticGuardedByInstance:ERROR", "-Xep:StaticGuardedByInstance:ERROR",
"-Xep:StringEquality:WARN",
"-Xep:SynchronizeOnNonFinalField:ERROR", "-Xep:SynchronizeOnNonFinalField:ERROR",
"-Xep:TruthConstantAsserts:ERROR", "-Xep:TruthConstantAsserts:ERROR",
"-Xep:TypeParameterShadowing:ERROR", "-Xep:TypeParameterShadowing:ERROR",
"-Xep:TypeParameterUnusedInFormals:WARN", "-Xep:TypeParameterUnusedInFormals:WARN",
"-Xep:URLEqualsHashCode:ERROR",
"-Xep:UnusedException:WARN",
"-Xep:UnsynchronizedOverridesSynchronized:ERROR", "-Xep:UnsynchronizedOverridesSynchronized:ERROR",
"-Xep:UnusedException:WARN",
"-Xep:URLEqualsHashCode:ERROR",
"-Xep:WaitNotInLoop:ERROR", "-Xep:WaitNotInLoop:ERROR",
"-Xep:WildcardImport:ERROR",
], ],
packages = ["error_prone_packages"], packages = ["error_prone_packages"],
) )