commit | 0e89e0097d05676333ee48ee6fe93d8b93cbbdcc | [log] [tgz] |
---|---|---|
author | Manuel Carrasco Moñino <manolo@vaadin.com> | Fri Jul 08 13:17:49 2016 +0200 |
committer | Manolo Carrasco Moñino <manolo@vaadin.com> | Mon Jul 11 11:42:33 2016 +0000 |
tree | 222d96f9d8e9c8b65117b49fb946287bf8156946 | |
parent | 0602bc5cf211b76d0a26efeac75b7be1e05f064a [diff] |
Adding rule for checkstyle line lenght. Confguration taken from : https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml Change-Id: If4aa4c33db36f7f892adeed28133f3bf68b41a44
diff --git a/eclipse/settings/code-style/gwt-checkstyle.xml b/eclipse/settings/code-style/gwt-checkstyle.xml index 671974a..d146bb0 100644 --- a/eclipse/settings/code-style/gwt-checkstyle.xml +++ b/eclipse/settings/code-style/gwt-checkstyle.xml
@@ -23,6 +23,10 @@ </module> <module name="TreeWalker"> <property name="fileExtensions" value="java"/> + <module name="LineLength"> + <property name="max" value="100"/> + <property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/> + </module> <module name="FileContentsHolder" /> <module name="InterfaceIsType"> <property name="severity" value="ignore"/>