Skip to content

Commit

Permalink
Setup overcommit and disable hound
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwessman committed Oct 17, 2021
1 parent aae69d7 commit a12152a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 60 deletions.
7 changes: 3 additions & 4 deletions .hound.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
ruby:
config_file: .rubocop.yml
exclude:
-"config/initializers/wice_grid_config.rb"
# Run as commit-hook instead
rubocop:
enabled: false
java_script:
config_file: .javascript-style.json
exclude:
Expand Down
4 changes: 4 additions & 0 deletions .overcommit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PreCommit:
StandardRb:
enabled: true
command: ['bundle', 'exec', 'standardrb', '--fix'] # Invoke within Bundler context
56 changes: 0 additions & 56 deletions .rubocop.yml

This file was deleted.

1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ group :development do
gem "bullet"
gem "foreman"
gem "onesky-rails"
gem "overcommit", "~> 0.58.0"
gem "standard", "~> 1.3"
gem "web-console"
end
Expand Down

0 comments on commit a12152a

Please sign in to comment.