1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Merge pull request #1783 from pry/rubocop

Add Rubocop
This commit is contained in:
Kyrylo Silin 2018-10-06 22:18:46 +08:00 committed by GitHub
commit 9d32f25a69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1749 additions and 0 deletions

1
.rubocop.yml Normal file
View file

@ -0,0 +1 @@
inherit_from: .rubocop_todo.yml

1739
.rubocop_todo.yml Normal file

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,10 @@ matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
include:
- rvm: 2.5
name: "Run RuboCop linting"
script: ruby -S bundle _1.15.4_ exec rubocop --parallel
notifications:
irc: "irc.freenode.org#pry"

View file

@ -8,6 +8,11 @@ group :development do
gem 'yard'
gem 'rb-inotify', :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
group :test do