From df6a6ce08b5d1929fa19e40dc3c9557f39bb45b9 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Thu, 1 Aug 2019 14:06:49 +0300 Subject: [PATCH 1/2] enable credo duplicated code check --- .credo.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.credo.exs b/.credo.exs index 9f69aecd10..ba4d7feb49 100644 --- a/.credo.exs +++ b/.credo.exs @@ -89,7 +89,7 @@ # or the `schema` macro in Ecto schemas to trigger DuplicatedCode, just # set the `excluded_macros` parameter to `[:schema, :setup, :test]`. # - {Credo.Check.Design.DuplicatedCode, false}, + {Credo.Check.Design.DuplicatedCode, excluded_macros: [], mass_threshold: 80}, # You can also customize the exit_status of each check. # If you don't want TODO comments to cause `mix credo` to fail, just From b3fd066367c2378d49d7338104b653fced601a74 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Thu, 1 Aug 2019 15:13:42 +0300 Subject: [PATCH 2/2] add CHANGELOG entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1277e69d70..9667ccf378 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - [#2425](https://github.com/poanetwork/blockscout/pull/2425) - Force to show address view for checksummed address even if it is not in DB ### Chore +- [#2490](https://github.com/poanetwork/blockscout/pull/2490) - enable credo duplicated code check - [#2432](https://github.com/poanetwork/blockscout/pull/2432) - bump credo version - [#2457](https://github.com/poanetwork/blockscout/pull/2457) - update mix.lock - [#2435](https://github.com/poanetwork/blockscout/pull/2435) - Replace deprecated extract-text-webpack-plugin with mini-css-extract-plugin