Rubocop config

This commit is contained in:
David Schärer 2024-07-15 14:37:54 +02:00
parent 1a3d172fe5
commit 216089a3e7
3 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,7 @@
require:
- rubocop-capybara
- rubocop-rails
AllCops:
Exclude:
- 'config/**/*.rb'
@ -7,6 +11,7 @@ AllCops:
- 'bin/rake'
- 'bin/rails'
- 'bin/setup'
NewCops: enable
Style/Documentation:
enabled: false
Enabled: false

View file

@ -64,6 +64,8 @@ group :development do
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
# gem "spring"
gem 'rubocop'
gem 'rubocop-capybara'
gem 'rubocop-rails'
gem 'ruby-lsp'
gem 'ruby-lsp-rails'
end

View file

@ -228,6 +228,13 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
rubocop-rails (2.25.1)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-lsp (0.17.7)
language_server-protocol (~> 3.17.0)
prism (>= 0.29.0, < 0.31)
@ -302,6 +309,8 @@ DEPENDENCIES
puma (>= 5.0)
rails (~> 7.1.3, >= 7.1.3.4)
rubocop
rubocop-capybara
rubocop-rails
ruby-lsp
ruby-lsp-rails
selenium-webdriver