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

Use Detekt with type resolution #144

Merged
merged 3 commits into from
Aug 28, 2024
Merged

Conversation

hbmartin
Copy link
Contributor

🚀 Description

Replaces default detekt task with detektMain (type resolution) when running check

📄 Motivation and Context

Enables the Detekt rules that require type resolution to run by default

🧪 How Has This Been Tested?

Tested by running preMerge and introducing errors that require TR to identify

📦 Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

✅ Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@@ -32,6 +32,7 @@ gradlePlugin {
version = property("VERSION").toString()
description = property("DESCRIPTION").toString()
displayName = property("DISPLAY_NAME").toString()
// Note: tags cannot include "plugin" or "gradle" when publishing
Copy link
Owner

Choose a reason for hiding this comment

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

Let's remove them from line 36 then?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@cortinico cortinico merged commit 4e9540e into cortinico:main Aug 28, 2024
4 checks passed
@hbmartin hbmartin deleted the detekt-type-res branch August 28, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants