.rubocop.yml

  1AllCops:
  2  TargetRubyVersion: 2.3
  3
  4Metrics/LineLength:
  5  Max: 80
  6
  7Metrics/BlockLength:
  8  ExcludedMethods:
  9    - route
 10
 11Layout/Tab:
 12  Enabled: false
 13
 14Layout/IndentationWidth:
 15  Width: 1 # one tab
 16
 17Lint/EndAlignment:
 18  EnforcedStyleAlignWith: variable
 19
 20Lint/RescueException:
 21  Enabled: false
 22
 23Style/AndOr:
 24  Enabled: false
 25
 26Layout/AlignParameters:
 27  Enabled: false
 28
 29Style/BlockDelimiters:
 30  Enabled: false
 31
 32Layout/CaseIndentation:
 33  EnforcedStyle: end
 34
 35Style/Documentation:
 36  Enabled: false
 37
 38Style/FormatString:
 39  EnforcedStyle: percent
 40
 41Layout/LeadingCommentSpace:
 42  Enabled: false
 43
 44Layout/MultilineMethodCallBraceLayout:
 45  Enabled: false
 46
 47Layout/MultilineOperationIndentation:
 48  Enabled: false
 49
 50Style/MultilineTernaryOperator:
 51  Enabled: false
 52
 53Style/Next:
 54  Enabled: false
 55
 56Style/Not:
 57  Enabled: false
 58
 59Style/NumericLiterals:
 60  MinDigits: 20
 61  Strict: true
 62
 63Style/NumericPredicate:
 64  Enabled: false
 65
 66Layout/SpaceAroundOperators:
 67  Enabled: false
 68
 69Layout/SpaceInsideHashLiteralBraces:
 70  EnforcedStyle: no_space
 71
 72Style/StringLiterals:
 73  EnforcedStyle: double_quotes
 74
 75Style/NegatedIf:
 76  Enabled: false
 77
 78Style/RedundantReturn:
 79  Enabled: false
 80
 81Style/MultilineBlockChain:
 82  Enabled: false
 83
 84Layout/SpaceAroundEqualsInParameterDefault:
 85  EnforcedStyle: no_space
 86
 87Layout/IndentArray:
 88  EnforcedStyle: consistent
 89
 90Style/SymbolArray:
 91  EnforcedStyle: brackets
 92
 93Layout/FirstParameterIndentation:
 94  EnforcedStyle: consistent
 95
 96Style/Lambda:
 97  EnforcedStyle: lambda
 98
 99Layout/AccessModifierIndentation:
100  EnforcedStyle: outdent
101
102Style/FormatStringToken:
103  Enabled: false
104
105Style/WordArray:
106  EnforcedStyle: brackets
107
108Lint/UriEscapeUnescape:
109  Enabled: false
110
111Style/RescueModifier:
112  Enabled: false