Adjust rubocop config

This commit is contained in:
Markus Schirp 2013-07-27 21:14:20 +02:00
parent 1105d2c6ce
commit 46c79e5815

View file

@ -32,3 +32,35 @@ CollectionMethods:
# to scan the code and see where the sections are.
AccessControl:
Enabled: false
# Limit line length
LineLength:
Max: 79
# Disable documentation checking until a class needs to be documented once
Documentation:
Enabled: false
# Do not favor modifier if/unless usage when you have a single-line body
IfUnlessModifier:
Enabled: false
# Allow case equality operator (in limited use within the specs)
CaseEquality:
Enabled: false
# Constants do not always have to use SCREAMING_SNAKE_CASE
ConstantName:
Enabled: false
# Not all trivial readers/writers can be defined with attr_* methods
TrivialAccessors:
Enabled: false
# I like 1.8 syntax:
HashSyntax:
Enabled: false
# And also have a differend opinion here
AndOr:
Enabled: false