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 | <!-- |
Julia McClellan | e953dbf | 2024-11-20 13:14:28 -0500 | [diff] [blame] | 19 | Project-specific lint configuration can be created with a `lint.xml` in the project directory. |
| 20 | That configuration will be applied in addition to this file. The precedence order is described in |
| 21 | https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html |
Alan Viverette | dbeaff0 | 2021-11-18 12:51:43 -0500 | [diff] [blame] | 22 | --> |
Owen Gray | ea8615e | 2019-08-07 15:41:35 -0400 | [diff] [blame] | 23 | <lint> |
| 24 | <issue id="LintBaseline" severity="ignore"> |
| 25 | <ignore regexp=".* filtered out because .* listed in the baseline file.*"/> |
| 26 | </issue> |
Alan Viverette | 01d05de | 2021-06-10 10:42:05 -0400 | [diff] [blame] | 27 | <!-- Disable all lint checks on tests by default. --> |
| 28 | <issue id="all"> |
| 29 | <ignore path="**/src/test/**" /> |
| 30 | <ignore path="**/src/androidTest/**" /> |
| 31 | <!-- Required for Kotlin multi-platform tests. --> |
Fred Sladkey | d2ea9cf | 2023-08-17 21:19:01 -0400 | [diff] [blame] | 32 | <ignore path="**/src/androidInstrumentedTest/**" /> |
| 33 | <ignore path="**/src/androidUnitTest/**" /> |
Alexander Gorshenev | c40deb7 | 2022-01-25 20:24:06 +0300 | [diff] [blame] | 34 | <ignore path="**/src/jvmTest/**" /> |
| 35 | <ignore path="**/src/commonTest/**" /> |
Owen Gray | fb2e839 | 2024-09-10 11:27:59 -0400 | [diff] [blame] | 36 | <ignore path="**/src/nonEmulatorJvmTest/**" /> |
Alan Viverette | 01d05de | 2021-06-10 10:42:05 -0400 | [diff] [blame] | 37 | <!-- Required for AppSearch icing tests. --> |
| 38 | <ignore path="**/java/tests/**" /> |
| 39 | </issue> |
Alan Viverette | 1035128 | 2021-08-04 17:05:29 -0400 | [diff] [blame] | 40 | <!-- Re-enable high-priority checks for tests (and everything else). --> |
Aurimas Liutikas | 6e4ecf7 | 2023-02-22 17:33:52 -0800 | [diff] [blame] | 41 | <issue id="BanThreadSleep" severity="fatal" /> |
Alan Viverette | 01d05de | 2021-06-10 10:42:05 -0400 | [diff] [blame] | 42 | <issue id="NewApi" severity="fatal" /> |
Alan Viverette | 1035128 | 2021-08-04 17:05:29 -0400 | [diff] [blame] | 43 | <issue id="WrongThread" severity="fatal" /> |
Jeff Gaston | 5603340 | 2021-10-13 11:19:42 -0400 | [diff] [blame] | 44 | <issue id="MissingTestSizeAnnotation" severity="fatal" /> |
Julia McClellan | f2f07aa | 2022-06-09 10:08:09 -0400 | [diff] [blame] | 45 | <issue id="IgnoreClassLevelDetector" severity="fatal" /> |
omarismail | cd37317 | 2024-02-20 13:42:19 +0000 | [diff] [blame] | 46 | <issue id="WithPluginClasspathUsage" severity="fatal" /> |
Julia McClellan | d95c2bf | 2024-09-06 09:09:49 -0400 | [diff] [blame] | 47 | <issue id="AutoValueNullnessOverride" severity="fatal" /> |
Yigit Boyar | e308e50 | 2023-05-22 11:08:43 -0700 | [diff] [blame] | 48 | <!-- Disable all lint checks on transformed classes by default. b/283812176 --> |
Alan Viverette | 9d65136 | 2023-03-23 12:34:03 -0400 | [diff] [blame] | 49 | <issue id="all"> |
| 50 | <ignore path="**/.transforms/**" /> |
Yigit Boyar | e308e50 | 2023-05-22 11:08:43 -0700 | [diff] [blame] | 51 | <!-- playground builds have dependency files in "transformed" instead of ".transforms" --> |
| 52 | <ignore path="**/.gradle/**/transforms*/**/transformed/**" /> |
Alan Viverette | 9d65136 | 2023-03-23 12:34:03 -0400 | [diff] [blame] | 53 | </issue> |
Hazem Ashmawy | 821e4fa | 2019-10-21 21:45:28 +0100 | [diff] [blame] | 54 | </lint> |