Skip to content

Commit

Permalink
fix: add hound config and fix codeclimate
Browse files Browse the repository at this point in the history
+ hound config
! codeclimate config
  • Loading branch information
majioa committed Jun 9, 2022
1 parent 0053403 commit fc915a8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
prepare:
fetch:
- url: "https://raw.githubusercontent.com/znamenica/dneslov/136_zUiVBDvH_pdf_calendary_for_time/.rubocop.yml"
path: ".rubocop.yml"
engines:
rubocop:
enabled: true
Expand Down
21 changes: 21 additions & 0 deletions .hound.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
Layout/IndentationWidth:
Width: 3
Lint/AmbiguousOperatorPrecedence: # new in 1.21
Enabled: false
Lint/Syntax:
Enabled: false
Metrics/AbcSize:
Max: 30
Metrics/CyclomaticComplexity:
Max: 10
Metrics/LineLength:
Max: 130
Metrics/MethodLength:
Max: 15
Style/MethodDefParentheses:
EnforcedStyle: require_no_parentheses
Style/NegatedIf:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false

0 comments on commit fc915a8

Please sign in to comment.