blob: 749708c5111cde6691506ca0b6132a59edfaa404 [file] [log] [blame]
Owen Grayea8615e2019-08-07 15:41:35 -04001<?xml version="1.0" encoding="UTF-8"?>
Alan Viverettedbeaff02021-11-18 12:51:43 -05002<!--
3 Copyright 2021 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17
18<!--
19 Please copy any lint rules added here to all other modules local lint.xml
20 files and lint_samples.xml (if applicable).
21 -->
Owen Grayea8615e2019-08-07 15:41:35 -040022<lint>
23 <issue id="LintBaseline" severity="ignore">
24 <ignore regexp=".* filtered out because .* listed in the baseline file.*"/>
25 </issue>
Alan Viverette01d05de2021-06-10 10:42:05 -040026 <!-- Disable all lint checks on tests by default. -->
27 <issue id="all">
28 <ignore path="**/src/test/**" />
29 <ignore path="**/src/androidTest/**" />
30 <!-- Required for Kotlin multi-platform tests. -->
31 <ignore path="**/src/androidAndroidTest/**" />
Alexander Gorshenevc40deb72022-01-25 20:24:06 +030032 <ignore path="**/src/jvmTest/**" />
33 <ignore path="**/src/commonTest/**" />
Alan Viverette01d05de2021-06-10 10:42:05 -040034 <!-- Required for AppSearch icing tests. -->
35 <ignore path="**/java/tests/**" />
36 </issue>
Alan Viverette10351282021-08-04 17:05:29 -040037 <!-- Re-enable high-priority checks for tests (and everything else). -->
Aurimas Liutikas6e4ecf72023-02-22 17:33:52 -080038 <issue id="BanThreadSleep" severity="fatal" />
Alan Viverette01d05de2021-06-10 10:42:05 -040039 <issue id="NewApi" severity="fatal" />
Alan Viverette10351282021-08-04 17:05:29 -040040 <issue id="WrongThread" severity="fatal" />
Jeff Gaston56033402021-10-13 11:19:42 -040041 <issue id="MissingTestSizeAnnotation" severity="fatal" />
Julia McClellanf2f07aa2022-06-09 10:08:09 -040042 <issue id="IgnoreClassLevelDetector" severity="fatal" />
Yigit Boyare308e502023-05-22 11:08:43 -070043 <!-- Disable all lint checks on transformed classes by default. b/283812176 -->
Alan Viverette9d651362023-03-23 12:34:03 -040044 <issue id="all">
45 <ignore path="**/.transforms/**" />
Yigit Boyare308e502023-05-22 11:08:43 -070046 <!-- playground builds have dependency files in "transformed" instead of ".transforms" -->
47 <ignore path="**/.gradle/**/transforms*/**/transformed/**" />
Alan Viverette9d651362023-03-23 12:34:03 -040048 </issue>
Hazem Ashmawy821e4fa2019-10-21 21:45:28 +010049</lint>