Skip to content

Commit

Permalink
Detekt: add rules about comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed May 13, 2022
1 parent d17a273 commit cf3e34e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tools/detekt/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,28 @@ naming:
performance:
SpreadOperator:
active: false

# Note: all rules for `comments` are disabled by default, but I put them here to be aware of their existence
comments:
AbsentOrWrongFileLicense:
active: false
licenseTemplateFile: 'license.template'
licenseTemplateIsRegex: false
CommentOverPrivateFunction:
active: false
CommentOverPrivateProperty:
active: false
DeprecatedBlockTag:
active: true
EndOfSentenceFormat:
# TODO Enable it
active: false
OutdatedDocumentation:
# TODO Enable it
active: false
UndocumentedPublicClass:
active: false
UndocumentedPublicFunction:
active: false
UndocumentedPublicProperty:
active: false

0 comments on commit cf3e34e

Please sign in to comment.