Remove outdated Rubocop config
This commit is contained in:
@ -1,4 +1,5 @@
|
|||||||
require:
|
require:
|
||||||
|
- rubocop-capybara
|
||||||
- rubocop-performance
|
- rubocop-performance
|
||||||
- rubocop-rails
|
- rubocop-rails
|
||||||
- rubocop-rspec
|
- rubocop-rspec
|
||||||
|
@ -24,7 +24,6 @@ Layout/HashAlignment:
|
|||||||
|
|
||||||
Layout/LineLength:
|
Layout/LineLength:
|
||||||
Exclude:
|
Exclude:
|
||||||
- "api/**/*"
|
|
||||||
- "config/**/*"
|
- "config/**/*"
|
||||||
- "db/**/*"
|
- "db/**/*"
|
||||||
- "spec/**/*"
|
- "spec/**/*"
|
||||||
|
@ -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
|
|
||||||
|
@ -14,9 +14,7 @@ Metrics/BlockLength:
|
|||||||
- "spec/**/*"
|
- "spec/**/*"
|
||||||
- "config/**/*"
|
- "config/**/*"
|
||||||
- "**/*.rake"
|
- "**/*.rake"
|
||||||
- "api/**/*"
|
|
||||||
- "Rakefile"
|
- "Rakefile"
|
||||||
- "Guardfile"
|
|
||||||
- "**/*/Rakefile"
|
- "**/*/Rakefile"
|
||||||
Max: 50
|
Max: 50
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
Reference in New Issue
Block a user