mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-12 13:26:45 +00:00
60 lines
1 KiB
YAML
60 lines
1 KiB
YAML
---
|
|
Style/ArrayIntersect:
|
|
Enabled: false
|
|
|
|
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/KeywordArgumentsMerging:
|
|
Enabled: false
|
|
|
|
Style/MultipleComparison:
|
|
Enabled: false
|
|
|
|
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/SafeNavigationChainLength:
|
|
Enabled: false
|
|
|
|
Style/SymbolArray:
|
|
Enabled: false
|
|
|
|
Style/TrailingCommaInArrayLiteral:
|
|
EnforcedStyleForMultiline: comma
|
|
|
|
Style/TrailingCommaInHashLiteral:
|
|
EnforcedStyleForMultiline: comma
|