aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2015-01-01 20:02:57 +0100
committerManolo Carrasco <manolo@apache.org>2015-01-01 20:02:57 +0100
commit0f3702eb8108999d364fc288d02023c1d6ec5b8d (patch)
treefa98249533e6f3fd0dd7301d6902571a3f557eaf /gwtquery-core
parent6c935cf92609af43568d578fc06dabb52953184b (diff)
downloadgwtquery-0f3702eb8108999d364fc288d02023c1d6ec5b8d.tar.gz
gwtquery-0f3702eb8108999d364fc288d02023c1d6ec5b8d.zip
Do not format JSNI blocks. Allow methods with dollar
Diffstat (limited to 'gwtquery-core')
-rw-r--r--gwtquery-core/src/main/code-style/gwt-checkstyle.xml1
-rw-r--r--gwtquery-core/src/main/code-style/gwt-format.xml4
2 files changed, 3 insertions, 2 deletions
diff --git a/gwtquery-core/src/main/code-style/gwt-checkstyle.xml b/gwtquery-core/src/main/code-style/gwt-checkstyle.xml
index 23439683..111e29c6 100644
--- a/gwtquery-core/src/main/code-style/gwt-checkstyle.xml
+++ b/gwtquery-core/src/main/code-style/gwt-checkstyle.xml
@@ -156,6 +156,7 @@ Description:
</module>
<module name="MethodName">
<property name="severity" value="error"/>
+ <property name="format" value="^[a-z$][a-zA-Z0-9]*$"/>
</module>
<module name="MemberName">
<metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Field names must start with [a-z], may not start with f[A-Z], and should not contain '_''s."/>
diff --git a/gwtquery-core/src/main/code-style/gwt-format.xml b/gwtquery-core/src/main/code-style/gwt-format.xml
index b13daa74..1873dbdb 100644
--- a/gwtquery-core/src/main/code-style/gwt-format.xml
+++ b/gwtquery-core/src/main/code-style/gwt-format.xml
@@ -54,8 +54,8 @@
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
-<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="false"/>
+<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>