You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have our local dev environment mimic our build environment, in which lint failures fail the build. Unfortunately, it does not seem like I can raise the severity of all Lint cops at the same time.
I'm happy to work out the fix myself if such a PR would be accepted.
Expected behavior
Lint:
Severity: error
Should change the severity for all Lint cops to error.
Actual behavior
Setting is silently ignored, while
Lint:
Enabled: false
works as expected.
Steps to reproduce the problem
Add given configuration to rubocop.yml.
RuboCop version
$ bundle exec rubocop -v
0.47.1
The text was updated successfully, but these errors were encountered:
jonas054
added a commit
to jonas054/rubocop
that referenced
this issue
Oct 1, 2017
Severity is the most obvious candidate for department-wide
setting, but the solution is general. A cop's individual setting
overrides the parameter from its department.
I would like to have our local dev environment mimic our build environment, in which lint failures fail the build. Unfortunately, it does not seem like I can raise the severity of all
Lint
cops at the same time.I'm happy to work out the fix myself if such a PR would be accepted.
Expected behavior
Should change the severity for all
Lint
cops toerror
.Actual behavior
Setting is silently ignored, while
works as expected.
Steps to reproduce the problem
Add given configuration to
rubocop.yml
.RuboCop version
$ bundle exec rubocop -v 0.47.1
The text was updated successfully, but these errors were encountered: