Tags: ahndwon/detekt
Tags
NamedArguments: fix false positive with varargs (detekt#3294)
Fix ForbiddenComment rule not checking for KDoc (detekt#3275) * Fix ForbiddenComment rule not checking for KDoc ForbiddenComment now analyzes KDoc elements for forbidden comments. KDoc sections don't inherit from the PsiComment type. Hence, this rule needs to also gather and analyze KDocSection types. Fixes detekt#3273 * Remove wildcard import * Add ForbiddenComment suppression to rule itself This allows to document rule violations in the noncompliant section. * Format report statement accordingly revert back to old style * Update report message to include the violated value
Support sarif as a report type - detekt#3045 (detekt#3132) * Support sarif as a report type - detekt#3045 * Integrate sarif feedback from @lgolding * Test the whole sarif report instead of some json paths * Provide only the short description; we do not have access to the long one programmatically * Use the plain rule id as sarif rule name; the rule set id is encoded in the sarif rule id * Remove need for casting by using a when expression
Do not report vararg arguments which are just passed to a vararg para… …meter (detekt#3157) * Do not report vararg parameters which are passed as vararg arguments as they do not create an array copy as of Kotlin 1.1 - Closes detekt#3145 * State that spread operator may lead to a performance penalty not that it must * Do not report vararg pass through arguments for non type resolution case - Closes detekt#3145 * Exclude guard clauses for ReturnCount
Bump jekyll-redirect-from from 0.15.0 to 0.16.0 in /docs (detekt#3117) Bumps [jekyll-redirect-from](https://github.com/jekyll/jekyll-redirect-from) from 0.15.0 to 0.16.0. - [Release notes](https://github.com/jekyll/jekyll-redirect-from/releases) - [Changelog](https://github.com/jekyll/jekyll-redirect-from/blob/master/History.markdown) - [Commits](jekyll/jekyll-redirect-from@v0.15.0...v0.16.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
MagicNumber rule: don't check Character, Boolean and null (detekt#3064)
Fix PreferToOverPairSyntax exception (detekt#3046) * Fix PreferToOverPairSyntax exception Closes detekt#3044 * Add space to message text
PreviousNext