Update rubocop configuration

This commit is contained in:
Sebastian Serth
2021-05-14 10:51:09 +02:00
parent 48904a19fd
commit fe4000916c
11 changed files with 407 additions and 33 deletions

20
.rubocop/lint.yml Normal file
View File

@ -0,0 +1,20 @@
# lint cop settings
#
# False positives:
# * expect { something }.to change { something } often triggers this
#
Lint/AmbiguousBlockAssociation:
Exclude:
- "spec/**/*_spec.rb"
#Lint/ShadowingOuterLocalVariable:
# Exclude:
# - "spec/**/*_spec.rb"
#
##
## Assume we know what we do when resucing exception, as we do it much less often
## than we actually should.
##
#Lint/SuppressedException:
# Enabled: false