.rubocop.yml
AllCops:
Exclude:
- celluloid_pubsub.gemspec
- bin/**/*
- Guardfile
- vendor/**/**
- examples/**/**
- spec/**/*
- Gemfile
- Rakefile
TargetRubyVersion: 2.3
ClassLength:
Max: 500
Documentation:
Enabled: true
Encoding:
Enabled: false
LineLength:
Max: 200
AccessModifierIndentation:
EnforcedStyle: outdent
IfUnlessModifier:
Enabled: false
CaseIndentation:
IndentWhenRelativeTo: case
IndentOneStep: true
MethodLength:
CountComments: false
Max: 20
SignalException:
Enabled: false
ColonMethodCall:
Enabled: false
AsciiComments:
Enabled: false
RegexpLiteral:
Enabled: false
AssignmentInCondition:
Enabled: false
ParameterLists:
CountKeywordArgs: false
SingleLineBlockParams:
Methods:
- reduce:
- memo
- item
Metrics/AbcSize:
Enabled: false
Style/CollectionMethods:
Enabled: true
Style/SymbolArray:
Enabled: true
Style/ExtraSpacing:
Enabled: true
Style/FileName:
Enabled: false