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
UselessCallOnNotNull doesn't report #2037
Comments
Can you please take a look at my comment on #2036 and see if it similarly describes your issue? |
yes, it 's sinilarly |
so now what can I do |
We need to write docs so users know how to run detekt so all rules run as expected. We're aware, just need to find the time to work on it. If using Gradle try running |
When i running detektMain tash, it report Script compilation errors: Line 23: plugins { Line 24: id("com.jfrog.artifactory") version artifactoryVersion Line 25: id("com.jfrog.bintray") version bintrayVersion Line 26: id("com.gradle.build-scan") version buildScanVersion Line 27: id("org.jetbrains.dokka") version dokkaVersion Line 28: id("com.github.ben-manes.versions") version gradleVersionsPluginVersion Line 29: kotlin("jvm") version kotlinVersion Line 30: id("com.github.johnrengelman.shadow") version shadowVersion Line 31: id("org.sonarqube") version sonarQubeVersion 9 errors |
I can't run detekyMain in my android project, so how can I do that |
#2259 shows how to run |
I wrote
val testList = listOf("string").orEmpty()
in my code, but detekt can not find it.The text was updated successfully, but these errors were encountered: