main
1require:
2 - rubocop/cop/internal_affairs
3 - rubocop-rspec
4
5AllCops:
6 Exclude:
7 - 'coverage/**/*'
8 - 'pkg/**/*'
9 - 'spec/fixtures/**/*'
10 - 'tmp/**/*'
11 - 'vendor/**/*'
12 TargetRubyVersion: 2.2
13
14Layout/ClassStructure:
15 Enabled: true
16 Categories:
17 module_inclusion:
18 - include
19 - prepend
20 - extend
21 ExpectedOrder:
22 - module_inclusion
23 - constants
24 - public_class_methods
25 - initializer
26 - instance_methods
27 - protected_methods
28 - private_methods
29
30Layout/EndOfLine:
31 EnforcedStyle: lf
32
33Layout/IndentArray:
34 EnforcedStyle: consistent
35
36Layout/IndentHeredoc:
37 EnforcedStyle: active_support
38
39Lint/AmbiguousBlockAssociation:
40 Exclude:
41 - 'spec/**/*.rb'
42
43Lint/InterpolationCheck:
44 Exclude:
45 - 'spec/**/*.rb'
46
47Metrics/BlockLength:
48 Exclude:
49 - '**/*.rake'
50 - '*.gemspec'
51 - 'Rakefile'
52 - 'spec/**/*.rb'
53
54Metrics/ModuleLength:
55 Exclude:
56 - 'spec/**/*.rb'
57
58Metrics/LineLength:
59 Exclude:
60 - 'spec/**/*.rb'
61
62Style/Documentation:
63 Enabled: false
64
65Style/EachWithObject:
66 Enabled: false
67
68Style/StringLiterals:
69 EnforcedStyle: 'single_quotes'
70
71Style/TrailingCommaInArrayLiteral:
72 Enabled: false
73
74Style/TrailingCommaInHashLiteral:
75 Enabled: false
76
77RSpec/MultipleExpectations:
78 Enabled: false
79
80RSpec/NamedSubject:
81 Enabled: false