This repository has been archived by the owner on Jan 6, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 52
Using kotlin context receivers breaks check #161
Comments
Can you try your code with https://github.com/detekt/detekt and raise the issue upstream eventually? |
created a test project using detekt 1.19.0. and it appears to be working with the context keyword |
looks like the ktlint that is also running with it breaks it
|
Is there any other solution than the workaround |
Disabling the Indentation rules solves the issue. Add the below lines to detect configuration yaml to disable the rule.
Then go to project settings in sonarqube and update the Detekt yaml configuration file path. |
Please try https://github.com/detekt/sonar-detekt/releases/tag/2.6.0-RC1 which uses a never KtLint version. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
using kotlins new context receivers breaks the check with
The text was updated successfully, but these errors were encountered: