Further refine our Rubocop to the current styles.

This commit is contained in:
Jordon Bedwell 2016-01-03 15:57:47 -06:00
parent b7d5a26d53
commit ffdbeb89dd
1 changed files with 10 additions and 3 deletions

View File

@ -6,13 +6,15 @@ Metrics/LineLength: { Max: 112 }
Style/IndentHash: { EnforcedStyle: consistent } Style/IndentHash: { EnforcedStyle: consistent }
Style/HashSyntax: { EnforcedStyle: hash_rockets } Style/HashSyntax: { EnforcedStyle: hash_rockets }
Style/SignalException: { EnforcedStyle: only_raise } Style/SignalException: { EnforcedStyle: only_raise }
Style/SpaceAroundOperators: { AllowForAlignment: true }
Style/AlignParameters: { EnforcedStyle: with_fixed_indentation } Style/AlignParameters: { EnforcedStyle: with_fixed_indentation }
Style/StringLiteralsInInterpolation: { EnforcedStyle: double_quotes } Style/StringLiteralsInInterpolation: { EnforcedStyle: double_quotes }
Style/RegexpLiteral: { EnforcedStyle: slashes, AllowInnerSlashes: true }
Style/MultilineMethodCallIndentation: { EnforcedStyle: indented }
Style/MultilineOperationIndentation: { EnforcedStyle: indented } Style/MultilineOperationIndentation: { EnforcedStyle: indented }
# Style/StringLiterals: { EnforcedStyle: double_quotes } Style/FirstParameterIndentation: { EnforcedStyle: consistent }
Style/RegexpLiteral: { EnforcedStyle: percent_r } Style/StringLiterals: { EnforcedStyle: double_quotes }
Style/IndentArray: { EnforcedStyle: consistent } Style/IndentArray: { EnforcedStyle: consistent }
Style/ExtraSpacing: { AllowForAlignment: true }
Style/PercentLiteralDelimiters: Style/PercentLiteralDelimiters:
PreferredDelimiters: PreferredDelimiters:
@ -24,6 +26,7 @@ Style/PercentLiteralDelimiters:
'%W': '()' '%W': '()'
'%x': '()' '%x': '()'
Style/AlignArray: { Enabled: false }
Style/StringLiterals: { Enabled: false } Style/StringLiterals: { Enabled: false }
Style/Documentation: { Enabled: false } Style/Documentation: { Enabled: false }
Style/DoubleNegation: { Enabled: false } Style/DoubleNegation: { Enabled: false }
@ -37,8 +40,12 @@ Style/ModuleFunction: { Enabled: false }
Style/RescueModifier: { Enabled: false } Style/RescueModifier: { Enabled: false }
Style/GuardClause: { Enabled: false } Style/GuardClause: { Enabled: false }
Style/FileName: { Enabled: false } Style/FileName: { Enabled: false }
Lint/UselessAccessModifier: { Enabled: false }
Style/SpaceAroundOperators: { Enabled: false }
Style/RedundantReturn: { Enabled: false }
AllCops: AllCops:
TargetRubyVersion: 2.0
Include: Include:
- lib/**/*.rb - lib/**/*.rb