Detekt: add rules about comment

This commit is contained in:
Benoit Marty 2022-05-13 09:51:14 +02:00
parent d17a273cb4
commit cf3e34e548
1 changed files with 25 additions and 0 deletions

View File

@ -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