-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Backend: Detekt Fixes Part 8 #2734
Backend: Detekt Fixes Part 8 #2734
Conversation
I have detected some issues with your pull request: Body issues: Please fix these issues. For the correct format, refer to the pull request template. |
There's seemingly an issue with specifically 1.12.2 detekt running and failing in the multi version build. Will look into this... |
This pull request has conflicts with the base branch "beta". Please resolve those so we can test out your changes. |
Conflicts have been resolved! 🎉 |
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.
code changes look fine
This pull request has conflicts with the base branch "beta". Please resolve those so we can test out your changes. |
Conflicts have been resolved! 🎉 |
What
Fixes all instances of ALL detektions, including regressions since the
HEAD
s of #2667 and #2657. Mainly the following:CustomCommentSpacing
(regression)AvoidBritishSpelling
(regression)CyclomaticComplexMethod
LargeClass
(regression)LongMethod
(regression)PrintStackTrace
(regression)ImportOrdering
/NoUnusedImports
Indentation
(regression)NoMultipleSpaces
(regression)NoTrailingSpaces
(regression)PropertyWrapping
(regression)SpacingAroundKeyword
(regression)StringTemplate
(regression)Wrapping
(regression)FunctionNaming
FunctionParameterNaming
MemberNameEqualsClassName
(regression)ObjectPropertyNaming
ArrayPrimitive
(regression)ForEachOnRange
SpreadOperator
IteratorNotThrowingNoSuchElementException
MapGetWithNotNullAssertionOperator
DestructuringDeclarationWithTooManyEntries
MaxLineLength
(regression)ReturnCount
(regression)UnusedParameter
UnusedPrivateProperty
UseAnyOrNoneInsteadOfFind
(regression)UseOrEmpty
- Main factor, 114 detektions at HEADUtilityClassWithPublicConstructor
VarCouldBeVal
Detektion count down to 0 from 261 at HEAD.
This PR also enables
detekt
running during the build process, anddetektMain
running during the Pull Request build process. If/when this gets merged, detekt will be fully enabled.Changelog Technical Details
groupOrEmpty
toMatchMatcher
. - DaveedgroupOrNull("[group]").orEmpty()