Merge remote-tracking branch 'upstream/pull/3195'

This commit is contained in:
Tom Hughes 2021-05-12 11:53:34 +01:00
commit c3cc8ea541
4 changed files with 20 additions and 0 deletions

View file

@ -4,6 +4,7 @@ require:
- rubocop-minitest
- rubocop-performance
- rubocop-rails
- rubocop-rake
AllCops:
TargetRubyVersion: 2.5

View file

@ -12,6 +12,7 @@ require:
- rubocop-minitest
- rubocop-performance
- rubocop-rails
- rubocop-rake
# Offense count: 544
# Cop supports --auto-correct.
@ -168,6 +169,20 @@ Rails/OutputSafety:
Rails/TimeZone:
Enabled: false
# Offense count: 8
Rake/Desc:
Exclude:
- 'lib/tasks/auto_annotate_models.rake'
- 'lib/tasks/eslint.rake'
- 'lib/tasks/subscribe_diary_authors.rake'
- 'lib/tasks/subscribe_old_changesets.rake'
- 'lib/tasks/testing.rake'
# Offense count: 3
Rake/MethodDefinitionInTask:
Exclude:
- 'lib/tasks/eslint.rake'
# Offense count: 558
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.

View file

@ -142,6 +142,7 @@ group :test do
gem "rubocop-minitest"
gem "rubocop-performance"
gem "rubocop-rails"
gem "rubocop-rake"
gem "selenium-webdriver"
gem "simplecov", :require => false
gem "simplecov-lcov", :require => false

View file

@ -408,6 +408,8 @@ GEM
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-rake (0.5.1)
rubocop
ruby-openid (2.9.2)
ruby-progressbar (1.11.0)
ruby2_keywords (0.0.4)
@ -540,6 +542,7 @@ DEPENDENCIES
rubocop-minitest
rubocop-performance
rubocop-rails
rubocop-rake
sanitize
sassc-rails
secure_headers