Skip to content

2.16.0

Compare
Choose a tag to compare
@kaufco kaufco released this 17 Jul 16:41
· 115 commits to master since this release
194fe73

Release notes - SonarKotlin - 2.16

Bug

SONARKT-334 Multiline comments inside functions are counted as Lines of Code

New Feature

SONARKT-317 Implement rule S6626: Tasks should define "description" and "group"

SONARKT-320 Implement rule S6623: "tasks.register()" should be preferred over "tasks.create()"

SONARKT-322 Implement rule S6624: Dependency versions shouldn't be hard-coded

SONARKT-323 Implement rule S6629: Dependencies should be grouped by destination

SONARKT-327 Implement rule S6631: Gradle settings file should always be present

SONARKT-328 implement rule S6625: "rootProject.name" should always be present in Gradle settings

SONARKT-332 Implement rule S6634: Core plugins IDs should be replaced by their shortcuts

SONARKT-335 Add .kts as default language extension along with .kt

Task

SONARKT-336 Split sonar-kotlin into modules

SONARKT-337 Add a GradleSensor that will visit .gradle.kts files

SONARKT-340 Add test framework for KotlinGradleSensor checks

SONARKT-344 Add a task to generate stubs for Gradle Kotlin rules

SONARKT-345 Disable Kotlin rules for Kotlin scripts

Improvement

SONARKT-347 Update Rules Metadata

SONARKT-348 Update Linter Bindings