Skip to content

Commit

Permalink
New rule set to detekt marketplace.js (#7299)
Browse files Browse the repository at this point in the history
* Added new rule set to detekt marketplace.js

* Updated rule description for UseInvokeForOperator

---------

Co-authored-by: Yauheni <yauheni.slizh@knightec.se>
  • Loading branch information
Kiolk and YauhenDaresay committed Jun 4, 2024
1 parent f668ddf commit 8a76fb5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions website/src/data/marketplace.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,17 @@ export const extensions = [
],
usesTypeResolution: true,
},
{
title: "UseInvokeForOperator",
description: "This set contains rules that help to improve readability and to keep a single project-wide convention. UseInvokeForOperater rule detects cases when using invoke expression instead of a direct call with round brackets. The Invoke operator makes code more readable and the rule helps keeping it.",
repo: "https://github.com/Kiolk/Detekt-rules",
ruleset: "kiolk-detekt-rules",
rules: [
"UseInvokeForOperator",
],
usesTypeResolution: true,
tags: ["ruleset"],
},
{
title: "ktlint",
description:
Expand Down

0 comments on commit 8a76fb5

Please sign in to comment.