1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
require: rubocop-rspec
AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.1
# New version of Rubocop does not support 2.0
Gemspec/RequiredRubyVersion:
Enabled: false
Layout/IndentHeredoc:
Enabled: false
# Target: 15
Metrics/AbcSize:
Max: 24
Exclude:
- lib/websocket/frame/handler/handler75.rb
- spec/**/*
Metrics/BlockLength:
Exclude:
- spec/**/*
Metrics/ClassLength:
Enabled: false
# Target: 6
Metrics/CyclomaticComplexity:
Max: 11
Exclude:
- spec/support/handshake_requests.rb
Metrics/LineLength:
Enabled: false
# Target: 10
Metrics/MethodLength:
Max: 18
Exclude:
- lib/websocket/frame/handler/handler75.rb
# Target: 7
Metrics/PerceivedComplexity:
Max: 8
Exclude:
- lib/websocket/frame/handler/handler75.rb
- spec/support/handshake_requests.rb
RSpec/ContextWording:
Enabled: false
RSpec/DescribeClass:
Enabled: false
RSpec/ExampleLength:
Enabled: false
RSpec/InstanceVariable:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/NamedSubject:
Enabled: false
Style/Documentation:
Enabled: false
|