.rubocop.yml in index_html-0.1.4 vs .rubocop.yml in index_html-0.2.0
- old
+ new
@@ -26,16 +26,10 @@
collect: 'map'
inject: 'reduce'
find: 'detect'
find_all: 'select'
-# Do not force public/protected/private keyword to be indented at the same
-# 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.
AccessModifierIndentation:
Enabled: false
# Limit line length
LineLength:
@@ -58,13 +52,9 @@
Enabled: false
# Don't require magic comment at the top of every file
Encoding:
Enabled: false
-
-# #Enforce outdenting of access modifiers (i.e. public, private, protected)
-# AccessModifierIndentation:
-# EnforcedStyle: outdent
EmptyLinesAroundAccessModifier:
Enabled: true
# Align ends correctly