-
Notifications
You must be signed in to change notification settings - Fork 39
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
Do not require configuration for every rule in yml file #520
Conversation
### What's done: * Provided default value * Edited all config files
Codecov Report
@@ Coverage Diff @@
## master #520 +/- ##
============================================
- Coverage 81.81% 81.79% -0.03%
Complexity 1596 1596
============================================
Files 76 76
Lines 4026 4026
Branches 1277 1278 +1
============================================
- Hits 3294 3293 -1
- Misses 214 215 +1
Partials 518 518
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
lgtm
- name: EXCEPTION_SUFFIX | ||
enabled: true | ||
configuration: {} | ||
configuration: { } |
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.
?
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.
This is a yml file for tests, so I've kept different versions for configuration, which should be valid.
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.
good, ok
What's done:
This pull request closes #468
The issue stated that disabled rules don't need configuration, but all configuration options have default values and it will work.