diff --git a/Gemfile b/Gemfile index 8926579c..d60f3f49 100644 --- a/Gemfile +++ b/Gemfile @@ -4,3 +4,6 @@ source "http://rubygems.org" gemspec # This is an optional dev-dependency, required whenever sprockets is required +gem "rubocop" +gem "rubocop-minitest" +gem "rubocop-performance" diff --git a/Gemfile.lock b/Gemfile.lock index 4583cca9..73b8b9f5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -36,6 +36,7 @@ GEM bundler rake thor (>= 0.14.0) + ast (2.4.2) babel-source (5.8.35) babel-transpiler (0.7.0) babel-source (>= 4.0, < 6) @@ -92,6 +93,7 @@ GEM actionview (>= 5.0.0) activesupport (>= 5.0.0) json (2.3.0) + language_server-protocol (3.17.0.3) listen (3.0.8) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) @@ -102,12 +104,8 @@ GEM matrix (0.4.2) method_source (1.0.0) mini_mime (1.0.2) - mini_portile2 (2.8.5) minitest (5.17.0) nenv (0.3.0) - nokogiri (1.14.3) - mini_portile2 (~> 2.8.0) - racc (~> 1.4) nokogiri (1.14.3-x86_64-darwin) racc (~> 1.4) nokogiri (1.14.3-x86_64-linux) @@ -116,6 +114,10 @@ GEM nenv (~> 0.1) shellany (~> 0.0) package_json (0.1.0) + parallel (1.24.0) + parser (3.3.0.5) + ast (~> 2.4.1) + racc pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) @@ -138,12 +140,33 @@ GEM method_source rake (>= 0.8.7) thor (>= 0.20.3, < 2.0) + rainbow (3.1.1) rake (13.0.1) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) regexp_parser (2.6.0) rexml (3.2.5) + rubocop (1.63.1) + json (~> 2.3) + language_server-protocol (>= 3.17.0) + parallel (~> 1.10) + parser (>= 3.3.0.2) + rainbow (>= 2.2.2, < 4.0) + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.31.1, < 2.0) + ruby-progressbar (~> 1.7) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.31.2) + parser (>= 3.3.0.4) + rubocop-minitest (0.35.0) + rubocop (>= 1.61, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) + rubocop-performance (1.21.0) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) + ruby-progressbar (1.13.0) rubyzip (2.3.2) selenium-webdriver (4.9.0) rexml (~> 3.2, >= 3.2.5) @@ -161,13 +184,13 @@ GEM tilt (2.1.0) tzinfo (1.2.10) thread_safe (~> 0.1) + unicode-display_width (2.5.0) websocket (1.2.9) xpath (3.2.0) nokogiri (~> 1.8) zeitwerk (2.6.6) PLATFORMS - ruby x86_64-darwin-20 x86_64-linux @@ -186,6 +209,9 @@ DEPENDENCIES package_json pry-byebug react-rails! + rubocop + rubocop-minitest + rubocop-performance selenium-webdriver test-unit (~> 2.5)