Gemfile: add rubocop 0.59.2 and lock it
Rubocop is a really nice tool when configured properly. A lot of default rules are very opinionated but the good thing is that it's very easy to disable them. With help of Rubocop I'd like to improve the quality of Pry's code.
This commit is contained in:
parent
e5756706d0
commit
9ffa460548
5
Gemfile
5
Gemfile
|
@ -8,6 +8,11 @@ group :development do
|
||||||
gem 'yard'
|
gem 'yard'
|
||||||
gem 'rb-inotify', :require => false
|
gem 'rb-inotify', :require => false
|
||||||
gem 'rb-fsevent', :require => false
|
gem 'rb-fsevent', :require => false
|
||||||
|
|
||||||
|
# Rubocop supports only >=2.2.0
|
||||||
|
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.2.0')
|
||||||
|
gem 'rubocop', '= 0.59.2', :require => false
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
|
|
Loading…
Reference in New Issue