forked from nedap/passenger-datadog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
51 lines (42 loc) · 1.23 KB
/
.rubocop.yml
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
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2015-10-21 23:46:12 -0400 using RuboCop version 0.34.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
AllCops:
DisplayCopNames: true
TargetRubyVersion: 1.9
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/BlockLength:
Max: 29
# Offense count: 1
Metrics/AbcSize:
Max: 33
# Offense count: 9
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives.
# URISchemes: http, https
Metrics/LineLength:
Max: 120
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 27
# Offense count: 1
# Configuration parameters: Exclude.
Style/Documentation:
Exclude:
- 'lib/passenger_datadog.rb'
Style/Encoding:
AutoCorrectEncodingComment: '# encoding: UTF-8'
Enabled: true
# Offense count: 2
# Configuration parameters: Exclude.
Style/FileName:
Exclude:
- 'bin/passenger-datadog'
# This is needed for Ruby 1.8.7 compatibility
Style/HashSyntax:
EnforcedStyle: hash_rockets