-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
82 lines (64 loc) · 1.96 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
require:
- rubocop/cop/internal_affairs
- rubocop-performance
- rubocop-rake
- rubocop-rspec
- ./lib/sevencop
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 2.6
Gemspec/RequireMFA:
Enabled: false
Layout/LineLength:
Enabled: false
Lint/UselessAccessModifier:
MethodCreatingMethods:
- def_node_matcher
- def_node_search
Metrics:
Enabled: false
RSpec:
Language:
Expectations:
- expect_correction
- expect_no_offenses
- expect_offense
RSpec/ExampleLength:
Enabled: false
RSpec/FilePath:
CustomTransform:
RSpecDescribeHttpEndpoint: rspec_describe_http_endpoint
RSpecEmptyLineAfterLet: rspec_empty_line_after_let
RSpecExamplesInSameGroup: rspec_examples_in_same_group
RSpecMatcherConsistentParentheses: rspec_matcher_consistent_parentheses
RSpecMemoizedHelperBlockDelimiter: rspec_memoized_helper_block_delimiter
RSpecRailsHaveHttpStatus: rspec_rails_have_http_status
RSpecRailsStatusCodeCheckBySubject: rspec_rails_status_code_check_by_subject
RSpec/MultipleExpectations:
Enabled: false
RSpec/SpecFilePathFormat:
CustomTransform:
RSpecDescribeHttpEndpoint: rspec_describe_http_endpoint
RSpecEmptyLineAfterLet: rspec_empty_line_after_let
RSpecExamplesInSameGroup: rspec_examples_in_same_group
RSpecMatcherConsistentParentheses: rspec_matcher_consistent_parentheses
RSpecMemoizedHelperBlockDelimiter: rspec_memoized_helper_block_delimiter
RSpecRailsHaveHttpStatus: rspec_rails_have_http_status
RSpecRailsStatusCodeCheckBySubject: rspec_rails_status_code_check_by_subject
Sevencop/AutoloadOrdered:
Enabled: true
Sevencop/HashElementOrdered:
Enabled: true
Sevencop/MethodDefinitionArgumentsMultiline:
Enabled: true
Sevencop/MethodDefinitionKeywordArgumentOrdered:
Enabled: true
Sevencop/MethodDefinitionOrdered:
Enabled: true
Style/Documentation:
Enabled: false
Style/MultilineBlockChain:
Enabled: false
Style/RequireOrder:
Enabled: true