Skip to content

Commit

Permalink
Add all rules to rule set and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
hackertronix committed Aug 12, 2024
1 parent 4319048 commit 23b053a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "com.doist.detekt"
version = "1.4.0"
version = "1.5.0"

repositories {
mavenCentral()
Expand Down
7 changes: 7 additions & 0 deletions src/main/kotlin/com/doist/detekt/DoistRuleSetProvider.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ class DoistRuleSetProvider : RuleSetProvider {
ruleSetId,
listOf(
NoBlankNewLineAfterClassHeader(config),
ConsistentWhenEntries(config),
MutableObservablePropertyIsPrivate(config),
NewLineAfterSuperCall(config),
NoBlankNewLineAfterClassHeader(config),
NoNotNullOperator(config),
SingleLineWhenEntryExpressionsAreWrapped(config),
TodoPattern(config),
),
)
}
Expand Down

0 comments on commit 23b053a

Please sign in to comment.