Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
b2d3e9da
Commit
b2d3e9da
authored
Feb 12, 2020
by
Mygod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update dependencies
parent
7e9652ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
19 deletions
+32
-19
build.gradle
build.gradle
+1
-1
detekt.yml
detekt.yml
+31
-18
No files found.
build.gradle
View file @
b2d3e9da
...
@@ -32,7 +32,7 @@ buildscript {
...
@@ -32,7 +32,7 @@ buildscript {
classpath
'com.github.ben-manes:gradle-versions-plugin:0.27.0'
classpath
'com.github.ben-manes:gradle-versions-plugin:0.27.0'
classpath
'com.google.android.gms:oss-licenses-plugin:0.9.5'
classpath
'com.google.android.gms:oss-licenses-plugin:0.9.5'
classpath
'com.google.gms:google-services:4.3.3'
classpath
'com.google.gms:google-services:4.3.3'
classpath
'com.vanniktech:gradle-maven-publish-plugin:0.
8
.0'
classpath
'com.vanniktech:gradle-maven-publish-plugin:0.
9
.0'
classpath
'io.fabric.tools:gradle:1.31.2'
classpath
'io.fabric.tools:gradle:1.31.2'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
...
...
detekt.yml
View file @
b2d3e9da
# https://github.com/arturbosch/detekt/blob/1.
3.1
/detekt-cli/src/main/resources/default-detekt-config.yml
# https://github.com/arturbosch/detekt/blob/1.
5.0
/detekt-cli/src/main/resources/default-detekt-config.yml
comments
:
comments
:
active
:
false
active
:
false
...
@@ -56,6 +56,13 @@ complexity:
...
@@ -56,6 +56,13 @@ complexity:
ignorePrivate
:
false
ignorePrivate
:
false
ignoreOverridden
:
true
ignoreOverridden
:
true
coroutines
:
active
:
true
GlobalCoroutineUsage
:
active
:
false
RedundantSuspendModifier
:
active
:
true
empty-blocks
:
empty-blocks
:
active
:
true
active
:
true
EmptyCatchBlock
:
EmptyCatchBlock
:
...
@@ -75,7 +82,7 @@ empty-blocks:
...
@@ -75,7 +82,7 @@ empty-blocks:
active
:
true
active
:
true
EmptyFunctionBlock
:
EmptyFunctionBlock
:
active
:
true
active
:
true
ignoreOverridden
Functions
:
true
ignoreOverridden
:
true
EmptyIfBlock
:
EmptyIfBlock
:
active
:
true
active
:
true
EmptyInitBlock
:
EmptyInitBlock
:
...
@@ -122,22 +129,22 @@ exceptions:
...
@@ -122,22 +129,22 @@ exceptions:
active
:
true
active
:
true
excludes
:
"
**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
excludes
:
"
**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
exceptionNames
:
exceptionNames
:
-
ArrayIndexOutOfBoundsException
-
ArrayIndexOutOfBoundsException
-
Error
-
Error
-
Exception
-
Exception
-
IllegalMonitorStateException
-
IllegalMonitorStateException
-
NullPointerException
-
NullPointerException
-
IndexOutOfBoundsException
-
IndexOutOfBoundsException
-
RuntimeException
-
RuntimeException
-
Throwable
-
Throwable
allowedExceptionNameRegex
:
"
^(_|(ignore|expected).*)"
allowedExceptionNameRegex
:
"
^(_|(ignore|expected).*)"
TooGenericExceptionThrown
:
TooGenericExceptionThrown
:
active
:
true
active
:
true
exceptionNames
:
exceptionNames
:
-
Error
-
Error
-
Exception
-
Exception
-
Throwable
-
Throwable
-
RuntimeException
-
RuntimeException
formatting
:
formatting
:
active
:
true
active
:
true
...
@@ -151,6 +158,9 @@ formatting:
...
@@ -151,6 +158,9 @@ formatting:
autoCorrect
:
true
autoCorrect
:
true
CommentSpacing
:
CommentSpacing
:
active
:
false
active
:
false
EnumEntryNameCase
:
active
:
true
autoCorrect
:
false
Filename
:
Filename
:
active
:
true
active
:
true
FinalNewline
:
FinalNewline
:
...
@@ -180,6 +190,9 @@ formatting:
...
@@ -180,6 +190,9 @@ formatting:
NoEmptyClassBody
:
NoEmptyClassBody
:
active
:
true
active
:
true
autoCorrect
:
true
autoCorrect
:
true
NoEmptyFirstLineInMethodBlock
:
active
:
true
autoCorrect
:
true
NoLineBreakAfterElse
:
NoLineBreakAfterElse
:
active
:
true
active
:
true
autoCorrect
:
true
autoCorrect
:
true
...
@@ -261,9 +274,7 @@ naming:
...
@@ -261,9 +274,7 @@ naming:
excludes
:
"
**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
excludes
:
"
**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
maximumFunctionNameLength
:
30
maximumFunctionNameLength
:
30
FunctionMinLength
:
FunctionMinLength
:
active
:
true
active
:
false
excludes
:
"
**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
minimumFunctionNameLength
:
3
FunctionNaming
:
FunctionNaming
:
active
:
true
active
:
true
excludes
:
"
**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
excludes
:
"
**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
...
@@ -275,7 +286,7 @@ naming:
...
@@ -275,7 +286,7 @@ naming:
excludes
:
"
**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
excludes
:
"
**/test/**,**/androidTest/**,**/*.Test.kt,**/*.Spec.kt,**/*.Spek.kt"
parameterPattern
:
'
[a-z][A-Za-z0-9]*'
parameterPattern
:
'
[a-z][A-Za-z0-9]*'
excludeClassPattern
:
'
$^'
excludeClassPattern
:
'
$^'
ignoreOverridden
Functions
:
true
ignoreOverridden
:
true
InvalidPackageDeclaration
:
InvalidPackageDeclaration
:
active
:
true
active
:
true
rootPackage
:
'
'
rootPackage
:
'
'
...
@@ -381,6 +392,8 @@ style:
...
@@ -381,6 +392,8 @@ style:
active
:
true
active
:
true
EqualsOnSignatureLine
:
EqualsOnSignatureLine
:
active
:
true
active
:
true
ExplicitCollectionElementAccessMethod
:
active
:
true
ExplicitItLambdaParameter
:
ExplicitItLambdaParameter
:
active
:
true
active
:
true
ExpressionBodySyntax
:
ExpressionBodySyntax
:
...
...
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