Skip to content

Commit cf0ac65

Browse files
authored
Merge pull request #1958 from rubocop/cop-config-order
Sort RuboCop config file
2 parents 5b91d18 + 9a90279 commit cf0ac65

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.rubocop.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,34 +101,34 @@ RSpec:
101101
- expect_no_offenses
102102
- expect_offense
103103

104+
RSpec/DescribeClass:
105+
Exclude:
106+
- spec/project/**/*.rb
107+
104108
RSpec/ExampleLength:
105109
CountAsOne:
106110
- heredoc
107111
Max: 11
108112

109-
RSpec/DescribeClass:
110-
Exclude:
111-
- spec/project/**/*.rb
112-
113113
RSpec/MultipleExpectations:
114114
Max: 2
115115

116+
RSpec/SpecFilePathFormat:
117+
Exclude:
118+
- spec/rubocop/cop/rspec/mixin/**/*.rb
119+
116120
# `expect_offense` does not use Kernel#format or String#%
117121
Style/FormatStringToken:
118122
Exclude:
119123
- spec/rubocop/**/*.rb
120124

121-
Style/RequireOrder:
122-
Enabled: true
123-
124-
RSpec/SpecFilePathFormat:
125-
Exclude:
126-
- spec/rubocop/cop/rspec/mixin/**/*.rb
127-
128125
Style/NumberedParameters:
129126
Enabled: true
130127
EnforcedStyle: disallow
131128

129+
Style/RequireOrder:
130+
Enabled: true
131+
132132
# Enable RuboCop's pending cops up to v1.63
133133

134134
Gemspec/DeprecatedAttributeAssignment: {Enabled: true}

0 commit comments

Comments
 (0)