-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from rosscooperman/fix-rubocop-deprecation-war…
…nings Add support for rubocop >= 0.53.0
- Loading branch information
Showing
5 changed files
with
53 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Configuration for Rubocop >= 0.53.0 | ||
|
||
Layout/AlignHash: | ||
EnforcedColonStyle: 'key' | ||
EnforcedHashRocketStyle: 'key' | ||
|
||
Layout/ExtraSpacing: | ||
# When true, allows most uses of extra spacing if the intent is to align | ||
# things with the previous or next line, not counting empty lines or comment | ||
# lines. | ||
AllowForAlignment: false | ||
|
||
Layout/SpaceBeforeFirstArg: | ||
Enabled: true | ||
|
||
Style/NumericLiterals: | ||
Enabled: false | ||
|
||
Metrics/BlockNesting: | ||
Max: 2 | ||
|
||
Style/WordArray: | ||
Enabled: false | ||
|
||
Style/TrailingCommaInArrayLiteral: | ||
EnforcedStyleForMultiline: 'comma' | ||
|
||
Style/TrailingCommaInHashLiteral: | ||
EnforcedStyleForMultiline: 'comma' | ||
|
||
Style/TrailingCommaInArguments: | ||
EnforcedStyleForMultiline: 'comma' | ||
|
||
Style/HashSyntax: | ||
EnforcedStyle: 'ruby19' | ||
|
||
Style/StringLiterals: | ||
EnforcedStyle: double_quotes |
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
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
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
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