mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
Fix hound rubocop rules (hopefully)
This commit is contained in:
parent
59a6aa83fc
commit
a27b8b9f21
1 changed files with 9 additions and 4 deletions
|
@ -13,6 +13,14 @@ Style/CollectionMethods:
|
|||
find: detect
|
||||
find_all: select
|
||||
reduce: inject
|
||||
Style/DotPosition:
|
||||
Description: Checks the position of the dot in multi-line method calls.
|
||||
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
|
||||
Enabled: true
|
||||
EnforcedStyle: leading
|
||||
SupportedStyles:
|
||||
- leading
|
||||
- trailing
|
||||
Style/FileName:
|
||||
Description: Use snake_case for source file names.
|
||||
StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
|
||||
|
@ -27,7 +35,7 @@ Style/IfUnlessModifier:
|
|||
Description: Favor modifier if/unless usage when you have a single-line body.
|
||||
StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
|
||||
Enabled: false
|
||||
MaxLineLength: 80
|
||||
MaxLineLength: 100
|
||||
Style/OptionHash:
|
||||
Description: Don't use option hashes when you can use keyword arguments.
|
||||
Enabled: false
|
||||
|
@ -223,14 +231,11 @@ Lint/LiteralInCondition:
|
|||
Lint/LiteralInInterpolation:
|
||||
Description: Checks for literals used in interpolation.
|
||||
Enabled: false
|
||||
|
||||
Metrics/LineLength:
|
||||
Description: Limit lines to 100 characters.
|
||||
StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits
|
||||
Enabled: true
|
||||
Max: 100
|
||||
AllowURI: true
|
||||
URISchemes:
|
||||
- http
|
||||
- https
|
||||
|
Loading…
Reference in a new issue