Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New rule set to detekt marketplace.js #7299

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Kiolk
Copy link

@Kiolk Kiolk commented May 17, 2024

This pull request contain information about new rule set that I want to add to marketplace page. General information about set you can find in GitHub repository. In current moment it contains only one rule, I will add more in the future.

Copy link

codecov bot commented May 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.31%. Comparing base (d3f5c8b) to head (755bedd).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #7299   +/-   ##
=========================================
  Coverage     84.31%   84.31%           
  Complexity     4149     4149           
=========================================
  Files           573      573           
  Lines         11888    11888           
  Branches       2458     2458           
=========================================
  Hits          10023    10023           
  Misses          613      613           
  Partials       1252     1252           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@schalkms schalkms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding your rule set to the marketplace!

@@ -229,6 +229,17 @@ export const extensions = [
],
usesTypeResolution: true,
},
{
title: "Kiolk's Detekt Rules",
description: "This set contains rule that helps to improve readability and to keep single convention in the whole project.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: "This set contains rule that helps to improve readability and to keep single convention in the whole project.",
description: "This set contains rules that help to improve readability and to keep a single project-wide convention.",

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also this description is a bit too generic. Can we describe what your rule is doing instead here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated and added addition description.

@@ -229,6 +229,17 @@ export const extensions = [
],
usesTypeResolution: true,
},
{
title: "Kiolk's Detekt Rules",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we call this UseInvokeForOperator instead?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants