forked from futhr/spree-postal-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade cops and tweak som offences.
- Loading branch information
Showing
2 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,34 @@ | ||
--- | ||
# Too picky. | ||
LineLength: | ||
Metrics/LineLength: | ||
Enabled: false | ||
|
||
# This should truly be on for well documented gems. | ||
Documentation: | ||
Style/Documentation: | ||
Enabled: false | ||
|
||
# Neatly aligned code is to swell. | ||
SingleSpaceBeforeFirstArg: | ||
Style/SingleSpaceBeforeFirstArg: | ||
Enabled: false | ||
|
||
# Rubocop default is leading but hound-ci use trailing. | ||
DotPosition: | ||
Style/DotPosition: | ||
EnforcedStyle: leading | ||
|
||
# Don't mess with RSpec DSL. | ||
Blocks: | ||
Style/BlockDelimiters: | ||
Exclude: | ||
- 'spec/**/*' | ||
|
||
# We really like the readability with newline in beginning of classes. | ||
EmptyLinesAroundMethodBody: | ||
Style/EmptyLinesAroundMethodBody: | ||
Enabled: false | ||
|
||
EmptyLinesAroundClassBody: | ||
Style/EmptyLinesAroundClassBody: | ||
Enabled: false | ||
|
||
EmptyLinesAroundModuleBody: | ||
Style/EmptyLinesAroundModuleBody: | ||
Enabled: false | ||
|
||
Metrics/AbcSize: | ||
Enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters