Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Hound basic configuration #2987

Merged
merged 3 commits into from
Oct 29, 2018
Merged
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
4 changes: 4 additions & 0 deletions .hound.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
rubocop:
config_file: .rubocop_basic.yml
scss:
config_file: .scss-lint.yml
30 changes: 1 addition & 29 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,8 @@
inherit_from: .rubocop_todo.yml
require: rubocop-rspec

AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
TargetRubyVersion: 2.3
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
# to ignore them, so only the ones explicitly set in this file are enabled.
DisabledByDefault: true
inherit_from: .rubocop_basic.yml

Metrics/LineLength:
Max: 100

Layout/IndentationConsistency:
EnforcedStyle: rails

Layout/EndOfLine:
EnforcedStyle: lf

Layout/TrailingBlankLines:
Enabled: true

Layout/TrailingWhitespace:
Enabled: true

Bundler/DuplicatedGem:
Enabled: true

Expand Down
28 changes: 28 additions & 0 deletions .rubocop_basic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
require: rubocop-rspec

AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
Include:
- '**/Rakefile'
- '**/config.ru'
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
TargetRubyVersion: 2.3
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
# to ignore them, so only the ones explicitly set in this file are enabled.
DisabledByDefault: true

Layout/IndentationConsistency:
EnforcedStyle: rails

Layout/EndOfLine:
EnforcedStyle: lf

Layout/TrailingBlankLines:
Enabled: true

Layout/TrailingWhitespace:
Enabled: true
71 changes: 0 additions & 71 deletions .rubocop_todo.yml

This file was deleted.