Skip to content

Commit

Permalink
add Layout/EmptyLineAfterGuardClause to rubocop, increment
Browse files Browse the repository at this point in the history
rubocop-cache-ventures gem version, and add note to the README.
  • Loading branch information
danarnold committed May 3, 2024
1 parent 5586690 commit 7a058a8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
2 changes: 1 addition & 1 deletion ruby/rubocop-cache-ventures.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
3 changes: 3 additions & 0 deletions ruby/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ Bundler:
Bundler/OrderedGems:
Enabled: false

Layout/EmptyLineAfterGuardClause:
Enabled: true

Lint:
Enabled: true

Expand Down

0 comments on commit 7a058a8

Please sign in to comment.