debian-mirror-gitlab/debian/gems-compat/jwt-2.1.0/.rubocop.yml

98 lines
1.4 KiB
YAML
Raw Normal View History

2019-03-15 21:16:06 +05:30
AllCops:
Exclude:
- 'bin/**/*'
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
Rails:
Enabled: true
Style/AlignParameters:
EnforcedStyle: with_fixed_indentation
Style/CaseIndentation:
EnforcedStyle: end
Style/AsciiComments:
Enabled: false
Style/IndentHash:
Enabled: false
Style/CollectionMethods:
Enabled: true
PreferredMethods:
inject: 'inject'
Style/Documentation:
Enabled: false
Style/BlockDelimiters:
Exclude:
- spec/**/*_spec.rb
Style/BracesAroundHashParameters:
Exclude:
- spec/**/*_spec.rb
Style/GuardClause:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/SpaceInsideHashLiteralBraces:
Enabled: false
Style/Lambda:
Enabled: false
Style/RaiseArgs:
Enabled: false
Style/SignalException:
Enabled: false
Metrics/AbcSize:
Max: 20
Metrics/ClassLength:
Max: 100
Metrics/ModuleLength:
Max: 100
Metrics/LineLength:
Enabled: false
Metrics/MethodLength:
Max: 15
Style/SingleLineBlockParams:
Enabled: false
Lint/EndAlignment:
EnforcedStyleAlignWith: variable
Style/FormatString:
Enabled: false
Style/MultilineMethodCallIndentation:
EnforcedStyle: indented
Style/MultilineOperationIndentation:
EnforcedStyle: indented
Style/WordArray:
Enabled: false
Style/RedundantSelf:
Enabled: false
Style/AlignHash:
Enabled: true
EnforcedLastArgumentHashStyle: always_ignore
Style/TrivialAccessors:
AllowPredicates: true