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

Add ignoreAnnotatedFunctions to TooManyFunctions #6875

Merged
merged 5 commits into from Jan 26, 2024

Conversation

matejdro
Copy link
Contributor

This fixes #6516

Copy link

codecov bot commented Jan 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (109a55d) 84.12% compared to head (acea218) 84.12%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #6875   +/-   ##
=========================================
  Coverage     84.12%   84.12%           
+ Complexity     3932     3928    -4     
=========================================
  Files           577      577           
  Lines         13180    13180           
  Branches       2488     2489    +1     
=========================================
  Hits          11088    11088           
  Misses          851      851           
  Partials       1241     1241           

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

@detekt-ci
Copy link
Collaborator

detekt-ci commented Jan 16, 2024

Warnings
⚠️

It looks like you're editing the un-versioned copy of our website. This affects only users on the 'next' version of detekt, and it's correct only if you intend to document a future change or feature. If you intended to make a change also for the current version of detekt, please make sure you edit the equivalent file inside website/versioned_docs/ as well.

Messages
📖

Thank you very much for making our website better ❤️!

Generated by 🚫 dangerJS against acea218

@BraisGabin BraisGabin added the pick request Marker for PRs that should be ported to the 1.0 release branch label Jan 26, 2024
@BraisGabin BraisGabin added this to the 2.0.0 milestone Jan 26, 2024
@BraisGabin BraisGabin merged commit 1475363 into detekt:main Jan 26, 2024
26 checks passed
@@ -100,3 +100,15 @@ private fun FooLazyColumnPreview() { // Violation for FooLazyColumnPreview()
#### Recommended configuration

* Set `ignoreAnnotated` to `['Preview']`
*
Copy link
Member

Choose a reason for hiding this comment

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

This * should be removed

@matejdro matejdro deleted the too-many-functions-annotation branch January 29, 2024 06:18
cortinico pushed a commit that referenced this pull request Jan 31, 2024
* Add ignoreAnnotatedFunctions to TooManyFunctions

* Add TooManyFunctions recommendation to compose docs

* Ensure Preview annotation in tests is declared

* Simplify hasAnnotation check

* Revert "Simplify hasAnnotation check"

This reverts commit 3d16e57.
cortinico pushed a commit that referenced this pull request Jan 31, 2024
* Add ignoreAnnotatedFunctions to TooManyFunctions

* Add TooManyFunctions recommendation to compose docs

* Ensure Preview annotation in tests is declared

* Simplify hasAnnotation check

* Revert "Simplify hasAnnotation check"

This reverts commit 3d16e57.
cortinico pushed a commit that referenced this pull request Jan 31, 2024
* Add ignoreAnnotatedFunctions to TooManyFunctions

* Add TooManyFunctions recommendation to compose docs

* Ensure Preview annotation in tests is declared

* Simplify hasAnnotation check

* Revert "Simplify hasAnnotation check"

This reverts commit 3d16e57.
@BraisGabin BraisGabin mentioned this pull request Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation pick request Marker for PRs that should be ported to the 1.0 release branch rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ignoreAnnotatedFunctions to TooManyFunctions
5 participants