Remove outdated Rubocop config

This commit is contained in:
Sebastian Serth
2023-01-18 10:48:53 +01:00
parent 47ff6c136f
commit 3b0e126e38
6 changed files with 1 additions and 50 deletions

View File

@ -1,4 +1,5 @@
require: require:
- rubocop-capybara
- rubocop-performance - rubocop-performance
- rubocop-rails - rubocop-rails
- rubocop-rspec - rubocop-rspec

View File

@ -24,7 +24,6 @@ Layout/HashAlignment:
Layout/LineLength: Layout/LineLength:
Exclude: Exclude:
- "api/**/*"
- "config/**/*" - "config/**/*"
- "db/**/*" - "db/**/*"
- "spec/**/*" - "spec/**/*"

View File

@ -7,14 +7,3 @@
Lint/AmbiguousBlockAssociation: Lint/AmbiguousBlockAssociation:
Exclude: Exclude:
- "spec/**/*_spec.rb" - "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

View File

@ -14,9 +14,7 @@ Metrics/BlockLength:
- "spec/**/*" - "spec/**/*"
- "config/**/*" - "config/**/*"
- "**/*.rake" - "**/*.rake"
- "api/**/*"
- "Rakefile" - "Rakefile"
- "Guardfile"
- "**/*/Rakefile" - "**/*/Rakefile"
Max: 50 Max: 50

View File

@ -52,14 +52,6 @@ Style/GuardClause:
Style/IfUnlessModifier: Style/IfUnlessModifier:
Enabled: false Enabled: false
##
## Scripts might include on top-level
##
#Style/MixinUsage:
# Exclude:
# - "scripts/**/*"
# - "services/*/scripts/**/*"
# #
# Well, we do this. To often to disable them. Studid. # Well, we do this. To often to disable them. Studid.
# #
@ -72,27 +64,6 @@ Style/MultilineBlockChain:
Style/RaiseArgs: Style/RaiseArgs:
EnforcedStyle: compact EnforcedStyle: compact
##
## Quick single line rescues in specs
##
#Style/RescueModifier:
# Exclude:
# - "spec/**/*_spec.rb"
#
##
## Quick single line rescues in specs
##
#Style/RescueStandardError:
# Enabled: false
##
## Often used pattern in chaining subjects in specs
##
#Style/Semicolon:
# Exclude:
# - "services/*/spec/**/*_spec.rb"
# - "spec/**/*_spec.rb"
Style/SignalException: Style/SignalException:
EnforcedStyle: only_raise EnforcedStyle: only_raise

View File

@ -1,12 +1,5 @@
# TODOs # TODOs
# The API seems to use huge amounts of {...} blocks for it's API design.
#
Style/BlockDelimiters:
Exclude:
- api/**/*.rb
# Lots of line are too long too. # Lots of line are too long too.
# #
Layout/LineLength: Layout/LineLength: