Owen Gray | ea8615e | 2019-08-07 15:41:35 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Alan Viverette | dbeaff0 | 2021-11-18 12:51:43 -0500 | [diff] [blame] | 2 | <!-- |
| 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 Gray | ea8615e | 2019-08-07 15:41:35 -0400 | [diff] [blame] | 22 | <lint> |
| 23 | <issue id="LintBaseline" severity="ignore"> |
| 24 | <ignore regexp=".* filtered out because .* listed in the baseline file.*"/> |
| 25 | </issue> |
Alan Viverette | 01d05de | 2021-06-10 10:42:05 -0400 | [diff] [blame] | 26 | <!-- 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 Gorshenev | c40deb7 | 2022-01-25 20:24:06 +0300 | [diff] [blame] | 32 | <ignore path="**/src/jvmTest/**" /> |
| 33 | <ignore path="**/src/commonTest/**" /> |
Alan Viverette | 01d05de | 2021-06-10 10:42:05 -0400 | [diff] [blame] | 34 | <!-- Required for AppSearch icing tests. --> |
| 35 | <ignore path="**/java/tests/**" /> |
| 36 | </issue> |
Alan Viverette | 1035128 | 2021-08-04 17:05:29 -0400 | [diff] [blame] | 37 | <!-- Re-enable high-priority checks for tests (and everything else). --> |
Alan Viverette | 01d05de | 2021-06-10 10:42:05 -0400 | [diff] [blame] | 38 | <issue id="NewApi" severity="fatal" /> |
Alan Viverette | 1035128 | 2021-08-04 17:05:29 -0400 | [diff] [blame] | 39 | <issue id="WrongThread" severity="fatal" /> |
Jeff Gaston | 5603340 | 2021-10-13 11:19:42 -0400 | [diff] [blame] | 40 | <issue id="MissingTestSizeAnnotation" severity="fatal" /> |
Julia McClellan | f2f07aa | 2022-06-09 10:08:09 -0400 | [diff] [blame] | 41 | <issue id="IgnoreClassLevelDetector" severity="fatal" /> |
Hazem Ashmawy | 821e4fa | 2019-10-21 21:45:28 +0100 | [diff] [blame] | 42 | </lint> |