-
Notifications
You must be signed in to change notification settings - Fork 54
/
.rubocop.yml
56 lines (52 loc) · 1.16 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
52
53
54
55
56
##
# Plugins
require:
- standard
##
# Defaults: standardrb
inherit_gem:
standard: config/base.yml
##
# Rules that break from standardrb defaults
Style/StringLiterals:
EnforcedStyle: single_quotes
##
# Disabled rules
Lint/AssignmentInCondition:
Enabled: false
Lint/FloatComparison:
Enabled: false
Lint/ConstantDefinitionInBlock:
Enabled: false
Lint/EmptyWhen:
Exclude:
- "lib/webmachine/dispatcher/route.rb"
Lint/DuplicateMethods:
Exclude:
- "lib/webmachine/application.rb"
Lint/UnderscorePrefixedVariableName:
Exclude:
- "lib/webmachine/trace/resource_proxy.rb"
- "spec/webmachine/dispatcher_spec.rb"
Lint/NestedMethodDefinition:
Exclude:
- "spec/webmachine/decision/flow_spec.rb"
Lint/RescueException:
Exclude:
- "spec/webmachine/decision/fsm_spec.rb"
Lint/RaiseException:
Exclude:
- "spec/webmachine/decision/fsm_spec.rb"
Style/MissingRespondToMissing:
Exclude:
- "lib/webmachine/request.rb"
Style/NilComparison:
Exclude:
- "spec/webmachine/decision/falsey_spec.rb"
Style/GlobalVars:
Exclude:
- "lib/webmachine/decision/conneg.rb"
AllCops:
NewCops: disable
SuggestExtensions: false
TargetRubyVersion: 2.6