config/rubocop.yml in axiom-0.1.1 vs config/rubocop.yml in axiom-0.2.0
- old
+ new
@@ -1,13 +1,6 @@
-AllCops:
- Includes:
- - '../**/*.rake'
- - 'Gemfile'
- - 'Gemfile.devtools'
- Excludes:
- - '**/vendor/**'
- - '**/benchmarks/**'
+inherit_from: ../.rubocop.yml
# Avoid parameter lists longer than five parameters.
ParameterLists:
Max: 3
CountKeywordArgs: true
@@ -28,11 +21,11 @@
# level as the def keyword. My personal preference is to outdent these keywords
# because I think when scanning code it makes it easier to identify the
# sections of code and visually separate them. When the keyword is at the same
# level I think it sort of blends in with the def keywords and makes it harder
# to scan the code and see where the sections are.
-AccessControl:
+AccessModifierIndentation:
Enabled: false
# Limit line length
LineLength:
Max: 143 # TODO: lower to 79
@@ -57,6 +50,10 @@
ConstantName:
Enabled: false
# Not all trivial readers/writers can be defined with attr_* methods
TrivialAccessors:
+ Enabled: false
+
+# Allow empty lines around body
+EmptyLinesAroundBody:
Enabled: false