style.yml 859 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. ---
  2. Style/ClassAndModuleChildren:
  3. Enabled: false
  4. Style/Documentation:
  5. Enabled: false
  6. Style/FormatStringToken:
  7. AllowedMethods:
  8. - redirect_with_vary # Route redirects are not token-formatted
  9. inherit_mode:
  10. merge:
  11. - AllowedMethods
  12. Style/HashAsLastArrayItem:
  13. Enabled: false
  14. Style/HashSyntax:
  15. EnforcedShorthandSyntax: either
  16. EnforcedStyle: ruby19_no_mixed_keys
  17. Style/NumericLiterals:
  18. AllowedPatterns:
  19. - \d{4}_\d{2}_\d{2}_\d{6}
  20. Style/PercentLiteralDelimiters:
  21. PreferredDelimiters:
  22. '%i': ()
  23. '%w': ()
  24. Style/RedundantBegin:
  25. Enabled: false
  26. Style/RedundantFetchBlock:
  27. Enabled: false
  28. Style/RescueStandardError:
  29. EnforcedStyle: implicit
  30. Style/SymbolArray:
  31. Enabled: false
  32. Style/TrailingCommaInArrayLiteral:
  33. EnforcedStyleForMultiline: comma
  34. Style/TrailingCommaInHashLiteral:
  35. EnforcedStyleForMultiline: comma