1+ require :
2+ - rubocop-performance
3+
14AllCops :
25 Include :
3- - ./Rakefile
4- - ./Gemfile
5- - ./*.gemspec
6+ - lib/**/*.rb
7+ - Rakefile
8+ - Gemfile
9+ - /*.gemspec
610 Exclude :
7- - ./ spec/fixtures/**/*
8- - ./ vendor/bundle/**/*
11+ - spec/fixtures/**/*
12+ - vendor/bundle/**/*
913
1014# At the moment not ready to be used
1115# https://github.com/bbatsov/rubocop/issues/947
12- Documentation :
16+ Style/ Documentation :
1317 Enabled : false
1418
1519# - CocoaPods -----------------------------------------------------------------#
1620
1721# We adopted raise instead of fail.
18- SignalException :
22+ Style/ SignalException :
1923 EnforcedStyle : only_raise
2024
2125# They are idiomatic
22- AssignmentInCondition :
26+ Lint/ AssignmentInCondition :
2327 Enabled : false
2428
2529# Allow backticks
26- AsciiComments :
30+ Style/ AsciiComments :
2731 Enabled : false
2832
2933# Indentation clarifies logic branches in implementations
30- IfUnlessModifier :
34+ Style/ IfUnlessModifier :
3135 Enabled : false
3236
3337# No enforced convention here.
34- SingleLineBlockParams :
38+ Style/ SingleLineBlockParams :
3539 Enabled : false
3640
3741# We only add the comment when needed.
38- Encoding :
42+ Style/ Encoding :
3943 Enabled : false
4044
4145# Having these make it easier to *not* forget to add one when adding a new
4246# value and you can simply copy the previous line.
4347Style/TrailingCommaInArguments :
4448 EnforcedStyleForMultiline : comma
4549
46- Style/TrailingCommaInLiteral :
50+ Style/TrailingCommaInArrayLiteral :
51+ EnforcedStyleForMultiline : comma
52+
53+ Style/TrailingCommaInHashLiteral :
4754 EnforcedStyleForMultiline : comma
4855
49- Style /MultilineOperationIndentation :
56+ Layout /MultilineOperationIndentation :
5057 EnforcedStyle : indented
5158
5259# Clashes with CLAide Command#validate!
53- GuardClause :
60+ Style/ GuardClause :
5461 Enabled : false
5562
5663# Not always desirable: lib/claide/command/plugins_helper.rb:12:15
57- Next :
64+ Style/ Next :
5865 Enabled : false
5966
6067# Autocorrect makes this cop much more useful, taking away needless guessing
61- Lint /EndAlignment :
68+ Layout /EndAlignment :
6269 AutoCorrect : true
6370
64-
6571# Arbitrary max lengths for classes simply do not work and enabling this will
6672# lead to a never ending stream of annoyance and changes.
6773Metrics/ClassLength :
@@ -98,16 +104,16 @@ Metrics/PerceivedComplexity:
98104
99105# - CocoaPods support for Ruby 1.8.7 ------------------------------------------#
100106
101- HashSyntax :
107+ Style/ HashSyntax :
102108 EnforcedStyle : hash_rockets
103109
104- Lambda :
110+ Style/ Lambda :
105111 Enabled : false
106112
107- DotPosition :
113+ Layout/ DotPosition :
108114 EnforcedStyle : trailing
109115
110- EachWithObject :
116+ Style/ EachWithObject :
111117 Enabled : false
112118
113119Style/SpecialGlobalVars :
@@ -116,7 +122,7 @@ Style/SpecialGlobalVars:
116122# - CocoaPods specs -----------------------------------------------------------#
117123
118124# Allow for `should.match /regexp/`.
119- AmbiguousRegexpLiteral :
125+ Lint/ AmbiguousRegexpLiteral :
120126 Exclude :
121127 - spec/**/*
122128
@@ -125,14 +131,14 @@ Performance/RedundantMatch:
125131 - spec/**/*
126132
127133# Allow `object.should == object` syntax.
128- Void :
134+ Lint/ Void :
129135 Exclude :
130136 - spec/**/*
131137
132- ClassAndModuleChildren :
138+ Style/ ClassAndModuleChildren :
133139 Exclude :
134140 - spec/**/*
135141
136- UselessComparison :
142+ Lint/BinaryOperatorWithIdenticalOperands :
137143 Exclude :
138144 - spec/**/*
0 commit comments