mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
Replace Rubocop with standard
Following an [update to the thoughtbot guide][guides PR], this commit removes Rubocop and replaces it with [standard]. [guides PR]: https://github.com/thoughtbot/guides/pull/606 [standard]: https://github.com/testdouble/standard
This commit is contained in:
parent
a80044c879
commit
aad77ceeb6
7 changed files with 21 additions and 23 deletions
11
.rubocop.yml
11
.rubocop.yml
|
@ -1,11 +0,0 @@
|
||||||
inherit_from:
|
|
||||||
- https://raw.githubusercontent.com/thoughtbot/guides/master/style/ruby/.rubocop.yml
|
|
||||||
|
|
||||||
AllCops:
|
|
||||||
TargetRubyVersion: 2.3
|
|
||||||
Exclude:
|
|
||||||
- "tmp/**/*"
|
|
||||||
- "gemfiles/*"
|
|
||||||
|
|
||||||
Style/EmptyMethod:
|
|
||||||
EnforcedStyle: expanded
|
|
3
Gemfile
3
Gemfile
|
@ -7,5 +7,4 @@ gem "aruba"
|
||||||
gem "cucumber", "1.3.19"
|
gem "cucumber", "1.3.19"
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "rspec-rails"
|
gem "rspec-rails"
|
||||||
|
gem "standard"
|
||||||
gem "rubocop", "0.54", require: false
|
|
||||||
|
|
22
Gemfile.lock
22
Gemfile.lock
|
@ -76,7 +76,6 @@ GEM
|
||||||
parallel (1.19.1)
|
parallel (1.19.1)
|
||||||
parser (2.7.1.3)
|
parser (2.7.1.3)
|
||||||
ast (~> 2.4.0)
|
ast (~> 2.4.0)
|
||||||
powerpack (0.1.2)
|
|
||||||
rack (2.2.2)
|
rack (2.2.2)
|
||||||
rack-test (1.1.0)
|
rack-test (1.1.0)
|
||||||
rack (>= 1.0, < 3)
|
rack (>= 1.0, < 3)
|
||||||
|
@ -93,6 +92,8 @@ GEM
|
||||||
thor (>= 0.20.3, < 2.0)
|
thor (>= 0.20.3, < 2.0)
|
||||||
rainbow (3.0.0)
|
rainbow (3.0.0)
|
||||||
rake (13.0.1)
|
rake (13.0.1)
|
||||||
|
regexp_parser (1.7.0)
|
||||||
|
rexml (3.2.4)
|
||||||
rspec-core (3.9.2)
|
rspec-core (3.9.2)
|
||||||
rspec-support (~> 3.9.3)
|
rspec-support (~> 3.9.3)
|
||||||
rspec-expectations (3.9.2)
|
rspec-expectations (3.9.2)
|
||||||
|
@ -110,14 +111,23 @@ GEM
|
||||||
rspec-mocks (~> 3.9)
|
rspec-mocks (~> 3.9)
|
||||||
rspec-support (~> 3.9)
|
rspec-support (~> 3.9)
|
||||||
rspec-support (3.9.3)
|
rspec-support (3.9.3)
|
||||||
rubocop (0.54.0)
|
rubocop (0.85.0)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
parser (>= 2.5)
|
parser (>= 2.7.0.1)
|
||||||
powerpack (~> 0.1)
|
|
||||||
rainbow (>= 2.2.2, < 4.0)
|
rainbow (>= 2.2.2, < 4.0)
|
||||||
|
regexp_parser (>= 1.7)
|
||||||
|
rexml
|
||||||
|
rubocop-ast (>= 0.0.3)
|
||||||
ruby-progressbar (~> 1.7)
|
ruby-progressbar (~> 1.7)
|
||||||
unicode-display_width (~> 1.0, >= 1.0.1)
|
unicode-display_width (>= 1.4.0, < 2.0)
|
||||||
|
rubocop-ast (0.0.3)
|
||||||
|
parser (>= 2.7.0.1)
|
||||||
|
rubocop-performance (1.6.1)
|
||||||
|
rubocop (>= 0.71.0)
|
||||||
ruby-progressbar (1.10.1)
|
ruby-progressbar (1.10.1)
|
||||||
|
standard (0.4.7)
|
||||||
|
rubocop (~> 0.85.0)
|
||||||
|
rubocop-performance (~> 1.6.0)
|
||||||
thor (1.0.1)
|
thor (1.0.1)
|
||||||
thread_safe (0.3.6)
|
thread_safe (0.3.6)
|
||||||
thread_safe (0.3.6-java)
|
thread_safe (0.3.6-java)
|
||||||
|
@ -137,7 +147,7 @@ DEPENDENCIES
|
||||||
factory_bot_rails!
|
factory_bot_rails!
|
||||||
rake
|
rake
|
||||||
rspec-rails
|
rspec-rails
|
||||||
rubocop (= 0.54)
|
standard
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.1.4
|
2.1.4
|
||||||
|
|
|
@ -7,7 +7,7 @@ gem "aruba"
|
||||||
gem "cucumber", "1.3.19"
|
gem "cucumber", "1.3.19"
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "rspec-rails"
|
gem "rspec-rails"
|
||||||
gem "rubocop", "0.54", require: false
|
gem "standard"
|
||||||
gem "byebug"
|
gem "byebug"
|
||||||
gem "listen", "~> 3.0.5"
|
gem "listen", "~> 3.0.5"
|
||||||
gem "puma", "~> 3.0"
|
gem "puma", "~> 3.0"
|
||||||
|
|
|
@ -7,7 +7,7 @@ gem "aruba"
|
||||||
gem "cucumber", "1.3.19"
|
gem "cucumber", "1.3.19"
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "rspec-rails"
|
gem "rspec-rails"
|
||||||
gem "rubocop", "0.54", require: false
|
gem "standard"
|
||||||
gem "byebug"
|
gem "byebug"
|
||||||
gem "listen", ">= 3.0.5", "< 3.2"
|
gem "listen", ">= 3.0.5", "< 3.2"
|
||||||
gem "puma", "~> 3.7"
|
gem "puma", "~> 3.7"
|
||||||
|
|
|
@ -7,7 +7,7 @@ gem "aruba"
|
||||||
gem "cucumber", "1.3.19"
|
gem "cucumber", "1.3.19"
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "rspec-rails"
|
gem "rspec-rails"
|
||||||
gem "rubocop", "0.54", require: false
|
gem "standard"
|
||||||
gem "byebug"
|
gem "byebug"
|
||||||
gem "listen", ">= 3.0.5", "< 3.2"
|
gem "listen", ">= 3.0.5", "< 3.2"
|
||||||
gem "puma", "~> 3.11"
|
gem "puma", "~> 3.11"
|
||||||
|
|
|
@ -7,7 +7,7 @@ gem "aruba"
|
||||||
gem "cucumber", "1.3.19"
|
gem "cucumber", "1.3.19"
|
||||||
gem "rake"
|
gem "rake"
|
||||||
gem "rspec-rails"
|
gem "rspec-rails"
|
||||||
gem "rubocop", "0.54", require: false
|
gem "standard"
|
||||||
gem "byebug"
|
gem "byebug"
|
||||||
gem "listen", "~> 3.2"
|
gem "listen", "~> 3.2"
|
||||||
gem "puma", "~> 4.1"
|
gem "puma", "~> 4.1"
|
||||||
|
|
Loading…
Reference in a new issue