Skip to content

Commit 73813a4

Browse files
committed
Update rubocop syntax
1 parent 74d1387 commit 73813a4

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.rubocop.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
inherit_gem:
22
rubocop-rails-omakase: rubocop.yml
33

4-
require:
4+
plugins:
55
- rubocop-performance
66
- rubocop-rails
7-
7+
- rubocop-minitest
88
AllCops:
99
NewCops: enable
1010
DisabledByDefault: false

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ group :development do
5858
gem "brakeman", require: false
5959
gem "hotwire-spark"
6060
gem "letter_opener"
61+
gem "rubocop-minitest", require: false
6162
gem "rubocop-rails-omakase", require: false
6263
gem "ruby-lsp"
6364
gem "web-console"

Gemfile.lock

+5
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,10 @@ GEM
414414
unicode-display_width (>= 2.4.0, < 4.0)
415415
rubocop-ast (1.38.1)
416416
parser (>= 3.3.1.0)
417+
rubocop-minitest (0.37.1)
418+
lint_roller (~> 1.1)
419+
rubocop (>= 1.72.1, < 2.0)
420+
rubocop-ast (>= 1.38.0, < 2.0)
417421
rubocop-performance (1.24.0)
418422
lint_roller (~> 1.1)
419423
rubocop (>= 1.72.1, < 2.0)
@@ -575,6 +579,7 @@ DEPENDENCIES
575579
rails_semantic_logger
576580
responders
577581
retest
582+
rubocop-minitest
578583
rubocop-rails-omakase
579584
ruby-lsp
580585
slim

0 commit comments

Comments
 (0)