mirror of
https://github.com/meineerde/rackstash.git
synced 2025-10-17 14:01:01 +00:00
Do not check for BlockDelimiters style anymore
Unfortuntely, Rubocop is often not smart enough to figure out which block style is advised in a certain situation. To avoid irritating false-positives, we just disable this style check.
This commit is contained in:
parent
7ba2010412
commit
186a197fdc
@ -37,10 +37,11 @@ Metrics/LineLength:
|
||||
AllowURI: true
|
||||
Max: 100
|
||||
|
||||
# We use a semantic style with do...end for procedual blocks and { ... } for
|
||||
# functional blocks. Unfortunately, it's often not clear from a simple code
|
||||
# analysis, which kind we ought to use. Use common sense in this case :)
|
||||
Style/BlockDelimiters:
|
||||
EnforcedStyle: semantic
|
||||
Exclude:
|
||||
- 'spec/**/*'
|
||||
Enabled: false
|
||||
|
||||
Style/Copyright:
|
||||
Enabled: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user