xref: /aosp_15_r20/prebuilts/checkstyle/default-module-checks.xml (revision 387726c4b5c67c6b48512fa4a28a3b8997d21b0d)
1*387726c4SAndroid Build Coastguard Worker<?xml version="1.0" encoding="UTF-8"?>
2*387726c4SAndroid Build Coastguard Worker<!--
3*387726c4SAndroid Build Coastguard Worker  ~ Copyright (C) 2016 The Android Open Source Project
4*387726c4SAndroid Build Coastguard Worker  ~
5*387726c4SAndroid Build Coastguard Worker  ~ Licensed under the Apache License, Version 2.0 (the "License");
6*387726c4SAndroid Build Coastguard Worker  ~ you may not use this file except in compliance with the License.
7*387726c4SAndroid Build Coastguard Worker  ~ You may obtain a copy of the License at
8*387726c4SAndroid Build Coastguard Worker  ~
9*387726c4SAndroid Build Coastguard Worker  ~      http://www.apache.org/licenses/LICENSE-2.0
10*387726c4SAndroid Build Coastguard Worker  ~
11*387726c4SAndroid Build Coastguard Worker  ~ Unless required by applicable law or agreed to in writing, software
12*387726c4SAndroid Build Coastguard Worker  ~ distributed under the License is distributed on an "AS IS" BASIS,
13*387726c4SAndroid Build Coastguard Worker  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*387726c4SAndroid Build Coastguard Worker  ~ See the License for the specific language governing permissions and
15*387726c4SAndroid Build Coastguard Worker  ~ limitations under the License.
16*387726c4SAndroid Build Coastguard Worker-->
17*387726c4SAndroid Build Coastguard Worker<property name="severity" value="warning"/>
18*387726c4SAndroid Build Coastguard Worker<property name="charset" value="UTF-8"/>
19*387726c4SAndroid Build Coastguard Worker<module name="FileTabCharacter">
20*387726c4SAndroid Build Coastguard Worker  <property name="severity" value="error"/>
21*387726c4SAndroid Build Coastguard Worker</module>
22*387726c4SAndroid Build Coastguard Worker<module name="LineLength">
23*387726c4SAndroid Build Coastguard Worker  <property name="severity" value="error"/>
24*387726c4SAndroid Build Coastguard Worker  <property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://|^ *\*? \{@link .*$"/>
25*387726c4SAndroid Build Coastguard Worker  <property name="max" value="100"/>
26*387726c4SAndroid Build Coastguard Worker</module>
27*387726c4SAndroid Build Coastguard Worker<module name="NewlineAtEndOfFile">
28*387726c4SAndroid Build Coastguard Worker  <property name="severity" value="error"/>
29*387726c4SAndroid Build Coastguard Worker</module>
30*387726c4SAndroid Build Coastguard Worker<module name="RegexpSingleline">
31*387726c4SAndroid Build Coastguard Worker  <property name="severity" value="error"/>
32*387726c4SAndroid Build Coastguard Worker  <property name="format" value="[ \t]+$"/>
33*387726c4SAndroid Build Coastguard Worker  <property name="message" value="Trailing whitespace"/>
34*387726c4SAndroid Build Coastguard Worker</module>
35