-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update code style and detekt rules
Signed-off-by: Art Shendrik <[email protected]>
- Loading branch information
Showing
8 changed files
with
171 additions
and
60 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,3 +1,3 @@ | ||
* text=auto eol=lf | ||
|
||
*.bat text eol=crlf | ||
*.gpg binary |
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
*.iml | ||
.fleet/ | ||
.idea/ | ||
.kotlin/ | ||
projectFilesBackup*/ | ||
|
||
# Gradle | ||
|
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,42 @@ | ||
# https://detekt.github.io/detekt/configurations.html | ||
# https://github.com/detekt/detekt/blob/main/detekt-core/src/main/resources/default-detekt-config.yml | ||
# https://github.com/detekt/detekt/blob/main/detekt-formatting/src/main/resources/config/config.yml | ||
|
||
config: | ||
validation: true | ||
warningsAsErrors: false | ||
checkExhaustiveness: false | ||
|
||
output-reports: | ||
active: true | ||
exclude: | ||
- 'TxtOutputReport' | ||
- 'XmlOutputReport' | ||
- 'HtmlOutputReport' | ||
- 'MdOutputReport' | ||
|
||
console-reports: | ||
active: true | ||
exclude: [ ] | ||
|
||
exceptions: | ||
TooGenericExceptionCaught: | ||
active: false | ||
|
||
complexity: | ||
LongParameterList: | ||
ignoreDefaultParameters: true | ||
TooManyFunctions: | ||
ignoreDeprecated: true | ||
ignoreOverridden: true | ||
|
||
style: | ||
LoopWithTooManyJumpStatements: | ||
maxJumpCount: 2 | ||
MaxLineLength: | ||
maxLineLength: 100 | ||
|
||
naming: | ||
NoNameShadowing: | ||
# False positives with SAM receiver usage | ||
active: false |
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
Oops, something went wrong.