Adjust rubocop config
This commit is contained in:
parent
1105d2c6ce
commit
46c79e5815
1 changed files with 32 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue