-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Empty count configuration #3052
Empty count configuration #3052
Conversation
Generated by 🚫 Danger |
5da9770
to
31f6624
Compare
} | ||
|
||
public struct EmptyCountConfiguration: RuleConfiguration, Equatable { | ||
private(set) var severityConfiguration = SeverityConfiguration(.warning) |
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.
the existing default is error
, can you change it to keep the same behavior?
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.
Updated.
Sorry, I didn't notice it was .error
before
31f6624
to
15dbf2e
Compare
Thanks! Great first contribution! 🎉 |
This PR provides an improvement for #827
It adds a a configuration option, to ignore variables named
count
. This option is disabled by default.