Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f91529e authored by William Escande's avatar William Escande
Browse files

Fwk Lint: enforce as error

Now that the baseline is up to date we can enforce some as error to
prevent spreading the disease.

Bug: 289445022
Test: m Bluetooth
Flag: Exempt lint
Change-Id: If552b9f17906de8a198bcfd0750d70157684c46d
parent 5e364b45
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -93,7 +93,40 @@ java_sdk_library {
    ],
    lint: {
        error_checks: [
            "Autofill",
            "DefaultLocale",
            "DuplicateDefinition",
            "ExtraText",
            "ExtraTranslation",
            "FlaggedApi",
            "GestureBackNavigation",
            "GuardedLogInvocation",
            "HandlerLeak",
            "InflateParams",
            "LabelFor",
            "MissingClass",
            "MonochromeLauncherIcon",
            "NewApi",
            "ObsoleteSdkInt",
            "Recycle",
            "RtlHardcoded",
            "RtlSymmetry",
            "ScrollViewSize",
            "SetTextI18n",
            "SimpleDateFormat",
            "StaticFieldLeak",
            "StringFormatCount",
            "StringFormatInvalid",
            "SupportAnnotationUsage",
            "TextFields",
            "TypographyEllipsis",
            "UseSparseArrays",
            "UseValueOf",
            "VectorPath",
            "VisibleForTests",
            "Wakelock",
            "WakelockTimeout",
            "WrongConstant",
        ],
        strict_updatability_linting: true,
        baseline_filename: "lint-baseline.xml",