diff --git a/.rubocop.yml b/.rubocop.yml index ffaf7941e..7d2b9b6e5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,3 @@ -Metrics/LineLength: - Max: 120 - -Style/Documentation: - Enabled: false +inherit_gem: + rubocop-coreyja: + - config/default.yml diff --git a/Gemfile b/Gemfile index 4ef40e998..9b4a5974e 100644 --- a/Gemfile +++ b/Gemfile @@ -30,6 +30,6 @@ gem 'kramdown' # For feed.xml.builder gem 'builder', '~> 3.0' -gem 'rubocop' +gem 'rubocop-coreyja', '0.2.0' gem 'scss_lint', require: false diff --git a/Gemfile.lock b/Gemfile.lock index 9ce2f8dde..2b87e1656 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -62,6 +62,7 @@ GEM hashie (3.5.7) i18n (0.7.0) ipaddress (0.8.3) + jaro_winkler (1.5.1) kramdown (1.16.2) listen (3.0.8) rb-fsevent (~> 0.9, >= 0.9.4) @@ -138,9 +139,9 @@ GEM padrino-support (0.13.3.4) activesupport (>= 3.1) parallel (1.12.1) - parser (2.5.1.0) + parser (2.5.1.2) ast (~> 2.4.0) - powerpack (0.1.1) + powerpack (0.1.2) public_suffix (3.0.2) puma (3.10.0) rack (2.0.4) @@ -150,13 +151,19 @@ GEM rb-inotify (0.9.10) ffi (>= 0.5.0, < 2) rouge (2.2.1) - rubocop (0.54.0) + rubocop (0.58.2) + jaro_winkler (~> 1.5.1) parallel (~> 1.10) - parser (>= 2.5) + parser (>= 2.5, != 2.5.1.1) powerpack (~> 0.1) rainbow (>= 2.2.2, < 4.0) ruby-progressbar (~> 1.7) unicode-display_width (~> 1.0, >= 1.0.1) + rubocop-coreyja (0.2.0) + rubocop (= 0.58.2) + rubocop-rspec (= 1.27.0) + rubocop-rspec (1.27.0) + rubocop (>= 0.56.0) ruby-progressbar (1.9.0) sass (3.4.25) scss_lint (0.55.0) @@ -174,7 +181,7 @@ GEM unf (0.1.4) unf_ext unf_ext (0.0.7.5) - unicode-display_width (1.3.0) + unicode-display_width (1.4.0) PLATFORMS ruby @@ -192,7 +199,7 @@ DEPENDENCIES mime-types puma rake - rubocop + rubocop-coreyja (= 0.2.0) scss_lint tzinfo-data wdm (~> 0.1.0)