Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
4e101ae7
Commit
4e101ae7
authored
Nov 05, 2016
by
Yusuke Iwaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exclude TOO SEVERE rules.
parent
6007fd56
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
+23
-5
checkstyle-config.xml
config/quality/checkstyle/checkstyle-config.xml
+15
-5
checkstyle-suppressions.xml
config/quality/checkstyle/checkstyle-suppressions.xml
+8
-0
No files found.
config/quality/checkstyle/checkstyle-config.xml
View file @
4e101ae7
...
...
@@ -27,6 +27,16 @@
<property
name=
"eachLine"
value=
"true"
/>
</module>
<module
name=
"SuppressionCommentFilter"
>
<property
name=
"offCommentFormat"
value=
"CHECKSTYLE:OFF (\w+)"
/>
<property
name=
"onCommentFormat"
value=
"CHECKSTYLE:ON (\w+)"
/>
<property
name=
"checkFormat"
value=
"$1"
/>
</module>
<module
name=
"SuppressionFilter"
>
<property
name=
"file"
value=
"config/quality/checkstyle/checkstyle-suppressions.xml"
/>
</module>
<module
name=
"TreeWalker"
>
<module
name=
"OuterTypeFilename"
/>
<module
name=
"IllegalTokenText"
>
...
...
@@ -91,11 +101,11 @@
<property
name=
"tokens"
value=
"COMMA"
/>
<property
name=
"option"
value=
"EOL"
/>
</module>
<module
name=
"PackageName"
>
<
!-- TODO
module name="PackageName">
<property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
<message key="name.invalidPattern"
value="Package name ''{0}'' must match pattern ''{1}''."/>
</module>
</module
--
>
<module
name=
"TypeName"
>
<message
key=
"name.invalidPattern"
value=
"Type name ''{0}'' must match pattern ''{1}''."
/>
...
...
@@ -158,16 +168,16 @@
</module>
<module
name=
"AbbreviationAsWordInName"
>
<property
name=
"ignoreFinal"
value=
"false"
/>
<
property
name=
"allowedAbbreviationLength"
value=
"1"
/
>
<
!-- TODO property name="allowedAbbreviationLength" value="1"/--
>
</module>
<module
name=
"OverloadMethodsDeclarationOrder"
/>
<module
name=
"VariableDeclarationUsageDistance"
/>
<module
name=
"CustomImportOrder"
>
<
!-- TODO
module name="CustomImportOrder">
<property name="specialImportsRegExp" value="com.google"/>
<property name="sortImportsInGroupAlphabetically" value="true"/>
<property name="customImportOrderRules"
value="STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"/>
</module>
</module
--
>
<module
name=
"MethodParamPad"
/>
<module
name=
"OperatorWrap"
>
<property
name=
"option"
value=
"NL"
/>
...
...
config/quality/checkstyle/checkstyle-suppressions.xml
0 → 100644
View file @
4e101ae7
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<!-- suppress some checks for classes extending RealmObject -->
<suppress
checks=
"JavadocMethod"
files=
"chat[\\/]rocket[\\/]android[\\/]model"
/>
</suppressions>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment