light-async
 1require:
 2  - rubocop-rspec
 3
 4AllCops:
 5  Exclude:
 6    - 'pkg/**/*'
 7    - 'spec/fixtures/**/*'
 8    - 'vendor/bundle/**/*'
 9  TargetRubyVersion: 2.5
10
11Layout/ArgumentAlignment:
12  EnforcedStyle: with_fixed_indentation
13
14Layout/ParameterAlignment:
15  Enabled: true
16  EnforcedStyle: with_fixed_indentation
17  IndentationWidth: 2
18
19Layout/EndOfLine:
20  EnforcedStyle: lf
21
22Layout/FirstArrayElementIndentation:
23  EnforcedStyle: consistent
24
25Layout/FirstHashElementIndentation:
26  EnforcedStyle: consistent
27
28Layout/MultilineMethodCallIndentation:
29  Enabled: true
30  EnforcedStyle: indented
31
32Lint/AmbiguousBlockAssociation:
33  Exclude:
34    - 'spec/**/*.rb'
35
36Lint/RaiseException:
37  Enabled: true
38
39Lint/StructNewOverride:
40  Enabled: true
41
42Metrics/BlockLength:
43  Exclude:
44    - '*.gemspec'
45    - 'Rakefile'
46    - 'spec/**/*.rb'
47
48Metrics/ModuleLength:
49  Exclude:
50    - 'spec/**/*.rb'
51
52Layout/LineLength:
53  Exclude:
54    - 'spec/**/*.rb'
55  IgnoredPatterns:
56    - '^#*'
57
58Naming/RescuedExceptionsVariableName:
59  PreferredName: error
60
61Style/Documentation:
62  Enabled: false
63
64Style/HashEachMethods:
65  Enabled: true
66
67Style/HashTransformKeys:
68  Enabled: true
69
70Style/HashTransformValues:
71  Enabled: true
72
73Style/StringLiterals:
74  EnforcedStyle: 'single_quotes'
75
76Style/WordArray:
77  Enabled: false
78
79Style/TrailingCommaInArrayLiteral:
80  Enabled: false
81
82Style/TrailingCommaInHashLiteral:
83  Enabled: false
84
85RSpec/ExampleLength:
86  Max: 80
87
88RSpec/NamedSubject:
89  Enabled: false
90
91RSpec/FilePath:
92  Enabled: false
93
94RSpec/DescribeClass:
95  Exclude:
96    - 'spec/integration/**/*'