From 53ff7db7b5b7dae8a4d69c8f3607606784c9abdb Mon Sep 17 00:00:00 2001 From: Lukas Gravley Date: Fri, 27 May 2022 15:45:59 -0500 Subject: [PATCH] Rubocop 1.30 (#2964) * update rubocop * adding unrec cops * fix space --- dependencies/Gemfile | 2 +- dependencies/Gemfile.lock | 14 +++++++------- lib/linter.sh | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dependencies/Gemfile b/dependencies/Gemfile index cf426cc2..a7322c14 100644 --- a/dependencies/Gemfile +++ b/dependencies/Gemfile @@ -4,7 +4,7 @@ source "https://rubygems.org" git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } -gem "rubocop", "~> 1.29.1" +gem "rubocop", "~> 1.30.0" gem "rubocop-github", "~> 0.17.0" gem "rubocop-performance", "~>1.13.3" gem "rubocop-rails", "~> 2.14" diff --git a/dependencies/Gemfile.lock b/dependencies/Gemfile.lock index c99ac64d..3c57a267 100644 --- a/dependencies/Gemfile.lock +++ b/dependencies/Gemfile.lock @@ -1,30 +1,30 @@ GEM remote: https://rubygems.org/ specs: - activesupport (7.0.2.3) + activesupport (7.0.3) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) ast (2.4.2) - concurrent-ruby (1.1.9) + concurrent-ruby (1.1.10) i18n (1.10.0) concurrent-ruby (~> 1.0) minitest (5.15.0) parallel (1.22.1) parser (3.1.2.0) ast (~> 2.4.1) - rack (2.2.3) + rack (2.2.3.1) rainbow (3.1.1) regexp_parser (2.4.0) rexml (3.2.5) - rubocop (1.29.1) + rubocop (1.30.0) parallel (~> 1.10) parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.17.0, < 2.0) + rubocop-ast (>= 1.18.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) rubocop-ast (1.18.0) @@ -51,11 +51,11 @@ PLATFORMS ruby DEPENDENCIES - rubocop (~> 1.29.1) + rubocop (~> 1.30.0) rubocop-github (~> 0.17.0) rubocop-performance (~> 1.13.3) rubocop-rails (~> 2.14) rubocop-rspec (~> 2.11.1) BUNDLED WITH - 2.3.7 + 2.3.5 diff --git a/lib/linter.sh b/lib/linter.sh index e80f6663..fa3a158a 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -952,7 +952,7 @@ LINTER_COMMANDS_ARRAY['PYTHON_ISORT']="isort --check --diff --sp ${PYTHON_ISORT_ LINTER_COMMANDS_ARRAY['PYTHON_MYPY']="mypy --config-file ${PYTHON_MYPY_LINTER_RULES} --install-types --non-interactive" LINTER_COMMANDS_ARRAY['R']="lintr" LINTER_COMMANDS_ARRAY['RAKU']="raku" -LINTER_COMMANDS_ARRAY['RUBY']="rubocop -c ${RUBY_LINTER_RULES} --force-exclusion" +LINTER_COMMANDS_ARRAY['RUBY']="rubocop -c ${RUBY_LINTER_RULES} --force-exclusion --ignore-unrecognized-cops" LINTER_COMMANDS_ARRAY['RUST_2015']="rustfmt --check --edition 2015" LINTER_COMMANDS_ARRAY['RUST_2018']="rustfmt --check --edition 2018" LINTER_COMMANDS_ARRAY['RUST_2021']="rustfmt --check --edition 2021"