mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 02:51:13 +01:00
47 lines
859 B
YAML
47 lines
859 B
YAML
---
|
|
Style/ClassAndModuleChildren:
|
|
Enabled: false
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
Style/FormatStringToken:
|
|
AllowedMethods:
|
|
- redirect_with_vary # Route redirects are not token-formatted
|
|
inherit_mode:
|
|
merge:
|
|
- AllowedMethods
|
|
|
|
Style/HashAsLastArrayItem:
|
|
Enabled: false
|
|
|
|
Style/HashSyntax:
|
|
EnforcedShorthandSyntax: either
|
|
EnforcedStyle: ruby19_no_mixed_keys
|
|
|
|
Style/NumericLiterals:
|
|
AllowedPatterns:
|
|
- \d{4}_\d{2}_\d{2}_\d{6}
|
|
|
|
Style/PercentLiteralDelimiters:
|
|
PreferredDelimiters:
|
|
'%i': ()
|
|
'%w': ()
|
|
|
|
Style/RedundantBegin:
|
|
Enabled: false
|
|
|
|
Style/RedundantFetchBlock:
|
|
Enabled: false
|
|
|
|
Style/RescueStandardError:
|
|
EnforcedStyle: implicit
|
|
|
|
Style/SymbolArray:
|
|
Enabled: false
|
|
|
|
Style/TrailingCommaInArrayLiteral:
|
|
EnforcedStyleForMultiline: comma
|
|
|
|
Style/TrailingCommaInHashLiteral:
|
|
EnforcedStyleForMultiline: comma
|