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?
to your account
detekt should not report any errors.
detekt reports the following for every import statement with 6 or more dots.
MaxChainedCallsOnSameLine - [6 chained calls on a single line; more than 5 calls should be wrapped to a new l(...)] at
Update from 1.21.0-RC1 to 1.21.0-RC2 and add this config
Trying to enable the new MaxChainedCallsOnSameLine rule.
The text was updated successfully, but these errors were encountered:
@dzirbel could you check this?
Sorry, something went wrong.
detekt#5014 Fix MaxChainedCallsOnSameLine false positives for imports
detekt#5014 Fix MaxChainedCallsOnSameLine false positives
Fix issues where MaxChainedCallsOnSameLine would report long import and package directives, where a warning certainly isn't necessary.
Thanks for the report - this is definitely an issue (along with package directives) which should be easy enough to fix in #5020.
#5014 Fix MaxChainedCallsOnSameLine false positives (#5020)
Sorry @BraisGabin, found it, didn't look deep enough 😅. I think this issue can be closed as the PR is merged.
You are right! Thanks
No branches or pull requests