From fc915a807395d50784e90120114f7f2eb8574f78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C2=ABMalo=C2=BB=20Skrylev?= Date: Thu, 9 Jun 2022 14:11:36 +0300 Subject: [PATCH] fix: add hound config and fix codeclimate + hound config ! codeclimate config --- .codeclimate.yml | 4 ++++ .hound.yml | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .hound.yml diff --git a/.codeclimate.yml b/.codeclimate.yml index 982e3b3..ef60133 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -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 diff --git a/.hound.yml b/.hound.yml new file mode 100644 index 0000000..9a8b214 --- /dev/null +++ b/.hound.yml @@ -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