Skip to content

Commit

Permalink
Merge pull request #27 from Doist/prateek/add-rules-to-ruleset
Browse files Browse the repository at this point in the history
Add all rules to rule set and update version
  • Loading branch information
hackertronix authored Aug 12, 2024
2 parents 4319048 + 23b053a commit 59dc3c9
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 59dc3c9

Please sign in to comment.