OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http:
//www.puppycrawl.com/dtds/configuration_1_3.dtd"> | 2 <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http:
//www.puppycrawl.com/dtds/configuration_1_3.dtd"> |
3 | 3 |
4 <!-- | 4 <!-- |
5 See installation instructions: https://sites.google.com/a/chromium.org/dev/che
ckstyle | 5 See installation instructions: https://sites.google.com/a/chromium.org/dev/che
ckstyle |
6 --> | 6 --> |
7 <module name="Checker"> | 7 <module name="Checker"> |
8 <property name="severity" value="warning"/> | 8 <property name="severity" value="warning"/> |
9 <property name="charset" value="UTF-8"/> | 9 <property name="charset" value="UTF-8"/> |
10 <module name="TreeWalker"> | 10 <module name="TreeWalker"> |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 </module> | 139 </module> |
140 <module name="RegexpSingleline"> | 140 <module name="RegexpSingleline"> |
141 <property name="format" value="((//.*)|(\*.*))(?<!TODO\(.{0,100})(TODO[^(
])|(TODO\([^)]*$)"/> | 141 <property name="format" value="((//.*)|(\*.*))(?<!TODO\(.{0,100})(TODO[^(
])|(TODO\([^)]*$)"/> |
142 <property name="message" value="All TODOs should be named. e.g. "TODO(
johndoe):"/> | 142 <property name="message" value="All TODOs should be named. e.g. "TODO(
johndoe):"/> |
143 </module> | 143 </module> |
144 <module name="RegexpSingleline"> | 144 <module name="RegexpSingleline"> |
145 <property name="format" value="[ \t]+$"/> | 145 <property name="format" value="[ \t]+$"/> |
146 <property name="message" value="Trailing whitespace"/> | 146 <property name="message" value="Trailing whitespace"/> |
147 </module> | 147 </module> |
148 <module name="RegexpHeader"> | 148 <module name="RegexpHeader"> |
| 149 <property name="severity" value="error"/> |
149 <property name="header" value="^// Copyright 20\d\d The Chromium Authors. Al
l rights reserved.$\n^// Use of this source code is governed by a BSD-style lice
nse that can be$\n^// found in the LICENSE file.$"/> | 150 <property name="header" value="^// Copyright 20\d\d The Chromium Authors. Al
l rights reserved.$\n^// Use of this source code is governed by a BSD-style lice
nse that can be$\n^// found in the LICENSE file.$"/> |
150 </module> | 151 </module> |
151 </module> | 152 </module> |
OLD | NEW |