-
-
Notifications
You must be signed in to change notification settings - Fork 797
Use annotation to configure rules in rules-empty #3771
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3771 +/- ##
=========================================
Coverage 83.52% 83.52%
Complexity 2915 2915
=========================================
Files 452 452
Lines 8765 8766 +1
Branches 1665 1665
=========================================
+ Hits 7321 7322 +1
Misses 542 542
Partials 902 902
Continue to review full report at Codecov.
|
@Suppress("unused") | ||
@Configuration("Excludes all the overridden functions") | ||
@Deprecated("Use `ignoreOverridden` instead") | ||
private val ignoreOverriddenFunctions: Boolean by config(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we remove this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it is used to generate the documentation for the deprecated config option. The configWithFallback
even checks that the property is there to ensure there is no typo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's tackle deprecated configs in separate PRs. I have not yet merged #3621
This belongs to #3670 and replaces all configuration kdoc tags in rules-empty with annotations.