diff --git a/README.md b/README.md index 1602f7b..632c51e 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,8 @@ team at Cache Ventures. |------------|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------| | Ruby | [RuboCop](/ruby/rubocop.yml) | [![Version](https://badge.fury.io/rb/rubocop-cache-ventures.svg)](https://rubygems.org/gems/rubocop-cache-ventures) | | JavaScript | [ESLint](/javascript/index.js) | [![Version](https://img.shields.io/npm/v/eslint-config-cache-ventures.svg)](https://www.npmjs.org/package/eslint-config-cache-ventures) | + +## Ruby updates + +After the Ruby gem is updated in a project, in order to get rubocop to read the +new rubocop.yml, you may need to run `rubocop --restart-server`. diff --git a/ruby/rubocop-cache-ventures.gemspec b/ruby/rubocop-cache-ventures.gemspec index 5b2489f..d0921ef 100644 --- a/ruby/rubocop-cache-ventures.gemspec +++ b/ruby/rubocop-cache-ventures.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |s| s.license = 'MIT' - s.version = '1.1.0' + s.version = '1.2.0' s.platform = Gem::Platform::RUBY s.add_dependency 'rubocop' diff --git a/ruby/rubocop.yml b/ruby/rubocop.yml index f6d70d1..703dbab 100644 --- a/ruby/rubocop.yml +++ b/ruby/rubocop.yml @@ -28,6 +28,9 @@ Bundler: Bundler/OrderedGems: Enabled: false +Layout/EmptyLineAfterGuardClause: + Enabled: true + Lint: Enabled: true