-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport 2.x] Enable Detekt #523
Conversation
Signed-off-by: Rupal Mahajan <[email protected]> (cherry picked from commit 5e3047d)
Codecov Report
@@ Coverage Diff @@
## 2.x #523 +/- ##
============================================
- Coverage 74.32% 74.27% -0.06%
Complexity 383 383
============================================
Files 94 94
Lines 4047 4050 +3
Branches 649 649
============================================
Hits 3008 3008
- Misses 905 908 +3
Partials 134 134
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@@ -40,6 +40,7 @@ buildscript { | |||
classpath "${opensearch_group}.gradle:build-tools:${opensearch_version}" | |||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}" | |||
classpath "org.jetbrains.kotlin:kotlin-allopen:${kotlin_version}" | |||
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.22.0-RC2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to add a release candidate library here? @rupal-bq @joshuali925
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry missed this earlier in the original PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, we can use Detekt v1.21.0 and force use snakeyaml 1.32.
Backport 5e3047d from #522