mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
Add rubocop-rails gem
This commit is contained in:
parent
e12cd0ae9d
commit
e5933091d9
4 changed files with 9 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
ruby:
|
||||
config_file: .rubocop.yml
|
||||
version: 0.68.0
|
||||
version: 0.72.0
|
||||
|
||||
eslint:
|
||||
enabled: true
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
require: rubocop-performance
|
||||
require:
|
||||
- rubocop-performance
|
||||
- rubocop-rails
|
||||
|
||||
AllCops:
|
||||
Exclude:
|
||||
|
|
1
Gemfile
1
Gemfile
|
@ -126,6 +126,7 @@ group :development, :test do
|
|||
gem 'rspec-rails', '>= 4.0.0.beta2'
|
||||
gem 'rubocop', '>= 0.59.0', require: false
|
||||
gem 'rubocop-performance'
|
||||
gem 'rubocop-rails'
|
||||
gem 'timecop'
|
||||
end
|
||||
|
||||
|
|
|
@ -497,6 +497,9 @@ GEM
|
|||
unicode-display_width (>= 1.4.0, < 1.7)
|
||||
rubocop-performance (1.4.1)
|
||||
rubocop (>= 0.71.0)
|
||||
rubocop-rails (2.3.2)
|
||||
rack (>= 1.1)
|
||||
rubocop (>= 0.72.0)
|
||||
ruby-graphviz (1.2.4)
|
||||
ruby-progressbar (1.10.1)
|
||||
ruby-vips (2.0.15)
|
||||
|
@ -677,6 +680,7 @@ DEPENDENCIES
|
|||
rspec-rails (>= 4.0.0.beta2)
|
||||
rubocop (>= 0.59.0)
|
||||
rubocop-performance
|
||||
rubocop-rails
|
||||
ruby-graphviz (~> 1.2)
|
||||
rubyzip
|
||||
rufus-scheduler (~> 3.5)
|
||||
|
|
Loading…
Reference in a new issue