Skip to content

Commit

Permalink
adding hound
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdavey committed Mar 29, 2019
1 parent 9ea5363 commit 7d31c4e
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .hound.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ruby:
config_file: .rubocop.yml
74 changes: 74 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
AllCops:
TargetRubyVersion: 2.3

Style/StringLiterals:
EnforcedStyle: double_quotes

Style/DoubleNegation:
Enabled: false

Style/AndOr:
EnforcedStyle: conditionals

Style/SymbolArray:
Enabled: false

Style/SafeNavigation:
Enabled: false

Layout/IndentHeredoc:
Enabled: false

Layout/FirstParameterIndentation:
EnforcedStyle: consistent

Rails/DynamicFindBy:
Enabled: false

Layout/EmptyLines:
Enabled: false

Style/NumericLiterals:
Enabled: false

Style/FrozenStringLiteralComment:
Enabled: false

Style/RaiseArgs:
EnforcedStyle: compact

Documentation:
Enabled: false

Metrics/LineLength:
Exclude:
- spec/**/*
Max: 120

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

Lint/AmbiguousBlockAssociation:
Exclude:
- "spec/**/*"

Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented
SupportedStyles:
- aligned
- indented

Metrics/AbcSize:
Enabled: true
Max: 20

Metrics/MethodLength:
Enabled: true
CountComments: false
Max: 20
Exclude:
- "spec/**/*"

1 change: 1 addition & 0 deletions vimwiki_markdown.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rspec-its", "~> 1.1"
spec.add_development_dependency "rspec-html-matchers", "~> 0.6.1"
spec.add_development_dependency "guard-rspec", "~> 4.3"
spec.add_development_dependency "rubocop"

spec.add_runtime_dependency "activesupport", "~> 4.1"
spec.add_runtime_dependency "github-markup", "~> 3.0"
Expand Down

0 comments on commit 7d31c4e

Please sign in to comment.