aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/com/puppycrawl/tools/checkstyle/configs/custom_messages.xml
blob: 8b14d034ffc2539c67ad809467e7ba0c27aa4531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE module PUBLIC
    "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
    "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">

<module name="Checker">
    <property name="tabWidth" value="4" />
    <property name="basedir" value="${checkstyle.basedir}" />
    <module name="TreeWalker">
        <module name="MemberName">
            <property name="format" value="^m[a-zA-Z0-9]*$"/>
            <message key="name.invalidPattern"
                     value="Member ''{0}'' must start with a lowercase ''m'' (checked pattern ''{1}'')."
                     />
        </module>
    </module>
</module>