Skip to content

Commit

Permalink
Introduces rubocop-minitest/rails
Browse files Browse the repository at this point in the history
and regenerates TODO
  • Loading branch information
hennevogel committed Mar 21, 2022
1 parent 85d1d63 commit c105ccc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .rubocop_todo.yml
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2021-08-25 13:19:06 UTC using RuboCop version 1.15.0.
# on 2022-03-21 14:20:08 UTC using RuboCop version 1.22.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand All @@ -18,16 +18,10 @@ Lint/RescueException:
Metrics/AbcSize:
Max: 67

# Offense count: 1
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
# IgnoredMethods: refine
Metrics/BlockLength:
Max: 26

# Offense count: 3
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 208
Max: 220

# Offense count: 16
# Configuration parameters: IgnoredMethods.
Expand Down Expand Up @@ -96,16 +90,17 @@ Style/GuardClause:
- 'app/controllers/download_controller.rb'
- 'lib/api_connect.rb'

# Offense count: 2
# Offense count: 3
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'app/controllers/download_controller.rb'
- 'app/helpers/application_helper.rb'
- 'lib/obs.rb'

# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 127
2 changes: 2 additions & 0 deletions Gemfile
Expand Up @@ -62,7 +62,9 @@ group :test do
gem 'faker'
gem 'geckodriver-bin', '~> 0.28.0'
gem 'rubocop'
gem 'rubocop-minitest'
gem 'rubocop-performance'
gem 'rubocop-rails'
gem 'selenium-webdriver'
gem 'vcr'
gem 'webmock'
Expand Down
8 changes: 8 additions & 0 deletions Gemfile.lock
Expand Up @@ -202,9 +202,15 @@ GEM
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.12.0)
parser (>= 3.0.1.1)
rubocop-minitest (0.18.0)
rubocop (>= 0.90, < 2.0)
rubocop-performance (1.11.5)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.14.2)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.7.0, < 2.0)
ruby-progressbar (1.11.0)
ruby2_keywords (0.0.5)
rubyzip (2.0.0)
Expand Down Expand Up @@ -298,7 +304,9 @@ DEPENDENCIES
rails-i18n
redcarpet (~> 3.5.1)
rubocop
rubocop-minitest
rubocop-performance
rubocop-rails
sassc-rails
selenium-webdriver
solargraph
Expand Down

0 comments on commit c105ccc

Please sign in to comment.