forked from tasomaniac/OpenLinkWith
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix lint issues and run static analysis for all modules
- Loading branch information
1 parent
320b0dc
commit 480cf4f
Showing
10 changed files
with
47 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<color name="error_color">#FFDD2C00</color> | ||
|
||
<color name="feature_switch_background">#EEE</color> | ||
</resources> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
apply plugin: 'io.gitlab.arturbosch.detekt' | ||
apply plugin: 'org.jlleitschuh.gradle.ktlint' | ||
apply plugin: 'com.novoda.static-analysis' | ||
|
||
|
||
staticAnalysis { | ||
penalty { | ||
maxWarnings = 10 | ||
maxErrors = 0 | ||
} | ||
|
||
detekt { | ||
config = files(configFile('detekt.yml')) | ||
} | ||
|
||
ktlint { | ||
disabledRules = ['import-ordering'] | ||
reporters { | ||
reporter 'checkstyle' | ||
} | ||
|
||
includeVariants { it.name in ['flossDebug', 'debug'] } | ||
} | ||
|
||
lintOptions { | ||
textReport true | ||
textOutput 'stdout' | ||
|
||
checkAllWarnings true | ||
checkTestSources false | ||
checkReleaseBuilds false | ||
checkDependencies false | ||
|
||
if (System.env.TRAVIS_BRANCH != 'master') ignore 'MissingTranslation' | ||
|
||
lintConfig configFile('lint.xml') | ||
|
||
includeVariants { it.name in ['flossDebug', 'debug'] } | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.