mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-21 08:39:44 +00:00
64 lines
1.1 KiB
YAML
64 lines
1.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/IfUnlessModifier:
|
|
Exclude:
|
|
- '**/*.haml'
|
|
|
|
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
|