Skip to content

Commit 1bd6a01

Browse files
committed
Setup overcommit and disable hound
1 parent 63e78b0 commit 1bd6a01

File tree

5 files changed

+15
-60
lines changed

5 files changed

+15
-60
lines changed

.hound.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
ruby:
2-
config_file: .rubocop.yml
3-
exclude:
4-
-"config/initializers/wice_grid_config.rb"
1+
# Run as commit-hook instead
2+
rubocop:
3+
enabled: false
54
java_script:
65
config_file: .javascript-style.json
76
exclude:

.overcommit.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PreCommit:
2+
StandardRb:
3+
enabled: true
4+
command: ['bundle', 'exec', 'standardrb', '--fix'] # Invoke within Bundler context

.rubocop.yml

-56
This file was deleted.

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ group :development do
8787
gem "bullet"
8888
gem "foreman"
8989
gem "onesky-rails"
90+
gem "overcommit", "~> 0.58.0"
9091
gem "standard", "~> 1.3"
9192
gem "web-console"
9293
end

Gemfile.lock

+7
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ GEM
145145
mimemagic (>= 0.3.0)
146146
case_transform (0.2)
147147
activesupport
148+
childprocess (4.1.0)
148149
climate_control (0.2.0)
149150
cliver (0.3.2)
150151
codeclimate-test-reporter (1.0.8)
@@ -215,6 +216,7 @@ GEM
215216
i18n (1.7.0)
216217
concurrent-ruby (~> 1.0)
217218
icalendar (2.4.1)
219+
iniparse (1.5.0)
218220
jquery-rails (4.3.3)
219221
rails-dom-testing (>= 1, < 3)
220222
railties (>= 4.2.0)
@@ -273,6 +275,10 @@ GEM
273275
onesky-ruby (1.0.1)
274276
rest-client (~> 1.8)
275277
orm_adapter (0.5.0)
278+
overcommit (0.58.0)
279+
childprocess (>= 0.6.3, < 5)
280+
iniparse (~> 1.4)
281+
rexml (~> 3.2)
276282
pagedown-bootstrap-rails (2.1.4)
277283
railties (> 3.1)
278284
paperclip (6.0.0)
@@ -551,6 +557,7 @@ DEPENDENCIES
551557
momentjs-rails
552558
nokogiri (>= 1.7)
553559
onesky-rails
560+
overcommit (~> 0.58.0)
554561
pagedown-bootstrap-rails
555562
paperclip (>= 5.2.0)
556563
paranoia

0 commit comments

Comments
 (0)