We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No detekt issues.
Anonymous object declarations in gradle scripts are reported. Kotlin compiler reports syntax errors.
dependencies { val version = object { val spek = "2.0.11" val ktlint = "0.37.1" } ...
detekt-pom/build.gradle.kts
@file:Suppress("detekt.MayBeConst")
The text was updated successfully, but these errors were encountered:
Local vars inside object literals can't be const - Closes #2794
d9c6e4a
1442723
0256975
arturbosch
No branches or pull requests
Expected Behavior
No detekt issues.
Observed Behavior
Anonymous object declarations in gradle scripts are reported.
Kotlin compiler reports syntax errors.
Steps to Reproduce
detekt-pom/build.gradle.kts
2.Remove
@file:Suppress("detekt.MayBeConst")
The text was updated successfully, but these errors were encountered: