Rubocop config
This commit is contained in:
parent
1a3d172fe5
commit
216089a3e7
3 changed files with 17 additions and 1 deletions
|
|
@ -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
|
||||
2
Gemfile
2
Gemfile
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue