Add rubocop-rake

This commit is contained in:
Benjamin Neff 2021-11-26 04:50:28 +01:00
parent fad3ae1b33
commit 93ab5f5ee7
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
4 changed files with 8 additions and 1 deletions

View file

@ -1,4 +1,6 @@
require: rubocop-rails
require:
- rubocop-rails
- rubocop-rake
AllCops:
TargetRubyVersion: 2.6

View file

@ -23,6 +23,7 @@ group :development do
gem "pronto-rubocop", "0.11.1", require: false
gem "rubocop", "1.23.0", require: false
gem "rubocop-rails", "2.12.4", require: false
gem "rubocop-rake", "0.6.0", require: false
# debugging
gem "pry"

View file

@ -199,6 +199,8 @@ GEM
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
ruby-progressbar (1.11.0)
ruby2_keywords (0.0.5)
rugged (1.0.1)
@ -254,6 +256,7 @@ DEPENDENCIES
rspec-rails (~> 5.0.1)
rubocop (= 1.23.0)
rubocop-rails (= 2.12.4)
rubocop-rake (= 0.6.0)
simplecov (= 0.21.2)
simplecov-rcov (= 0.2.3)
webmock (~> 3.0)

View file

@ -29,5 +29,6 @@ end
Bundler::GemHelper.install_tasks name: "diaspora_federation"
desc "Run all tests"
task test: :spec
task default: :test