Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .overcommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
# Uncomment the following lines to make the configuration take effect.

PreCommit:
RuboCop:
enabled: true
on_warn: fail # Treat all warnings as failures
RuboCop:
enabled: true
on_warn: fail
command: ['bundle', 'exec', 'rubocop']

PrePush:
RSpec:
Expand Down
6 changes: 6 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ AllCops:
- 'spec/integration/**/*'
NewCops: enable

Capybara:
Enabled: false

Capybara/RSpec:
Enabled: false

Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
Loading