Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: tools/android/checkstyle/chromium-style-5.0.xml

Issue 100183003: Make the license header check an error for PRESUBMIT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
139 </module> 139 </module>
140 <module name="RegexpSingleline"> 140 <module name="RegexpSingleline">
141 <property name="format" value="((//.*)|(\*.*))(?&lt;!TODO\(.{0,100})(TODO[^( ])|(TODO\([^)]*$)"/> 141 <property name="format" value="((//.*)|(\*.*))(?&lt;!TODO\(.{0,100})(TODO[^( ])|(TODO\([^)]*$)"/>
142 <property name="message" value="All TODOs should be named. e.g. &quot;TODO( johndoe):"/> 142 <property name="message" value="All TODOs should be named. e.g. &quot;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>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698