mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
a9e40a3d80
to the API
61 lines
905 B
YAML
61 lines
905 B
YAML
Rails:
|
|
Enabled: true
|
|
|
|
Style/PerlBackrefs:
|
|
AutoCorrect: false
|
|
|
|
Style/ClassAndModuleChildren:
|
|
Enabled: false
|
|
|
|
Metrics/BlockNesting:
|
|
Max: 2
|
|
|
|
Metrics/LineLength:
|
|
AllowURI: true
|
|
Enabled: false
|
|
|
|
Metrics/MethodLength:
|
|
CountComments: false
|
|
Max: 10
|
|
|
|
Metrics/ModuleLength:
|
|
Max: 100
|
|
|
|
Metrics/ParameterLists:
|
|
Max: 4
|
|
CountKeywordArgs: true
|
|
|
|
Style/AccessModifierIndentation:
|
|
EnforcedStyle: indent
|
|
|
|
Style/CollectionMethods:
|
|
Enabled: true
|
|
PreferredMethods:
|
|
find_all: 'select'
|
|
|
|
Style/Documentation:
|
|
Enabled: false
|
|
|
|
Style/DoubleNegation:
|
|
Enabled: false
|
|
|
|
Style/FrozenStringLiteralComment:
|
|
Enabled: false
|
|
|
|
Style/SpaceInsideHashLiteralBraces:
|
|
EnforcedStyle: space
|
|
|
|
Style/TrailingCommaInLiteral:
|
|
EnforcedStyleForMultiline: 'comma'
|
|
|
|
Style/RegexpLiteral:
|
|
Enabled: false
|
|
|
|
AllCops:
|
|
TargetRubyVersion: 2.2
|
|
Exclude:
|
|
- 'spec/**/*'
|
|
- 'db/**/*'
|
|
- 'app/views/**/*'
|
|
- 'config/**/*'
|