Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions template/{{app_name}}/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
plugins:
- rubocop-rspec
- rubocop-rspec_rails
inherit_gem:
pundit: config/rubocop-rspec.yml
rubocop-rails-omakase: rubocop.yml

AllCops:
NewCops: disable

RSpec/ExampleLength:
Enabled: false
RSpec/MultipleExpectations:
Expand All @@ -13,5 +17,8 @@ RSpec/NoExpectationExample:
- assert_
- is_expected_in_block

RSpecRails/HttpStatusNameConsistency:
Enabled: true

Style/FrozenStringLiteralComment:
Enabled: true
1 change: 1 addition & 0 deletions template/{{app_name}}/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ group :development do
# Linting
gem "rubocop-rails-omakase", require: false
gem "rubocop-rspec", require: false
gem "rubocop-rspec_rails", require: false

# Test notifications locally without sending the emails
gem "letter_opener"
Expand Down
5 changes: 5 additions & 0 deletions template/{{app_name}}/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,10 @@ GEM
rubocop-rspec (3.7.0)
lint_roller (~> 1.1)
rubocop (~> 1.72, >= 1.72.1)
rubocop-rspec_rails (2.32.0)
lint_roller (~> 1.1)
rubocop (~> 1.72, >= 1.72.1)
rubocop-rspec (~> 3.5)
ruby-graphviz (1.2.5)
rexml
ruby-progressbar (1.13.0)
Expand Down Expand Up @@ -558,6 +562,7 @@ DEPENDENCIES
rspec-rails (~> 8.0.0)
rubocop-rails-omakase
rubocop-rspec
rubocop-rspec_rails
selenium-webdriver
simplecov
sprockets-rails
Expand Down
Loading