blob: dd56e16974eed1deba352f36288f09796b28e11b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<!-- AndroidX global lint rules from ../buildSrc/lint.xml -->
<issue id="LintBaseline" severity="ignore">
<ignore regexp=".* filtered out because .* listed in the baseline file.*"/>
</issue>
<!-- Disable all lint checks on tests by default. -->
<issue id="all">
<ignore path="**/src/test/**" />
<ignore path="**/src/androidTest/**" />
<!-- Required for Kotlin multi-platform tests. -->
<ignore path="**/src/androidAndroidTest/**" />
<ignore path="**/src/jvmTest/**" />
<ignore path="**/src/commonTest/**" />
<!-- Required for AppSearch icing tests. -->
<ignore path="**/java/tests/**" />
</issue>
<!-- Re-enable high-priority checks for tests (and everything else). -->
<issue id="NewApi" severity="fatal" />
<issue id="WrongThread" severity="fatal" />
<issue id="MissingTestSizeAnnotation" severity="fatal" />
<!-- Webkit-specific lint rules: -->
<!-- We cannot cause ClassVerificationFailure in embedding apps -->
<issue id="ClassVerificationFailure" severity="fatal" />
<!-- Developers need to call our code from Kotlin code, so nullness is important.-->
<issue id="UnknownNullness" severity="fatal" >
<!-- The boundary interfaces are not annotated, and they represent external chromium code,
so skip them.
The catch-all ignore below does not disable this check,
so it needs to be done here too. -->
<ignore path="**/org/chromium/support_lib_boundary/**" />
</issue>
<!-- Ignore all warnings for webview-support-interfaces, since it's external chromium code. -->
<issue id="all" severity="ignore">
<ignore path="**/org/chromium/support_lib_boundary/**" />
</issue>
</lint>