Skip to content

Commit

Permalink
[Fixes rubocop#3725] Disable Style/SingleLineBlockParams by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tejasbubane committed Dec 1, 2016
1 parent 007649d commit f0cda8f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Change log

## master (unreleased)

### New features

* [#3757](https://github.com/bbatsov/rubocop/pull/3757): Add Auto-Correct for `Bundler/OrderedGems` cop. ([@pocke][])

## master (unreleased)
### Changes

* [#3725](https://github.com/bbatsov/rubocop/issues/3725): Disable `Style/SingleLineBlockParams` by default. ([@tejasbubane][])

### Bug fixes

Expand Down
4 changes: 4 additions & 0 deletions config/disabled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,7 @@ Style/SymbolArray:
Description: 'Use %i or %I for arrays of symbols.'
StyleGuide: '#percent-i'
Enabled: false

Style/SingleLineBlockParams:
Description: 'Enforces the names of some block params.'
Enabled: true
4 changes: 0 additions & 4 deletions config/enabled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -710,10 +710,6 @@ Style/SignalException:
StyleGuide: '#prefer-raise-over-fail'
Enabled: true

Style/SingleLineBlockParams:
Description: 'Enforces the names of some block params.'
Enabled: true

Style/SingleLineMethods:
Description: 'Avoid single-line methods.'
StyleGuide: '#no-single-line-methods'
Expand Down

0 comments on commit f0cda8f

Please sign in to comment.