diff options
author | feld <feld@feld.me> | 2020-10-13 14:47:29 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2020-10-13 14:47:29 +0000 |
commit | 8b6221d4ecd1d7e354e7de831dd46e285cb85077 (patch) | |
tree | 992e96bbdf4b40a5738ca2306ba3acf4158b17d5 /.credo.exs | |
parent | eea879eb362d3310d4fe047fb6412b69dd8711fe (diff) | |
parent | 4c4ea9a3486f824cfba825a176439d50ec54fe95 (diff) | |
download | pleroma-8b6221d4ecd1d7e354e7de831dd46e285cb85077.tar.gz pleroma-8b6221d4ecd1d7e354e7de831dd46e285cb85077.zip |
Merge branch 'feature/1822-files-consistency' into 'develop'
Feature/1822 files consistency
Closes #1822
See merge request pleroma/pleroma!2680
Diffstat (limited to '.credo.exs')
-rw-r--r-- | .credo.exs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.credo.exs b/.credo.exs index 46d45d015..83e34a2b4 100644 --- a/.credo.exs +++ b/.credo.exs @@ -25,7 +25,7 @@ # # If you create your own checks, you must specify the source files for # them here, so they can be loaded by Credo before running the analysis. - requires: [], + requires: ["./lib/credo/check/consistency/file_location.ex"], # # Credo automatically checks for updates, like e.g. Hex does. # You can disable this behaviour below: @@ -71,7 +71,6 @@ # set this value to 0 (zero). {Credo.Check.Design.TagTODO, exit_status: 0}, {Credo.Check.Design.TagFIXME, exit_status: 0}, - {Credo.Check.Readability.FunctionNames}, {Credo.Check.Readability.LargeNumbers}, {Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 100}, @@ -91,7 +90,6 @@ {Credo.Check.Readability.VariableNames}, {Credo.Check.Readability.Semicolons}, {Credo.Check.Readability.SpaceAfterCommas}, - {Credo.Check.Refactor.DoubleBooleanNegation}, {Credo.Check.Refactor.CondStatements}, {Credo.Check.Refactor.CyclomaticComplexity}, @@ -102,7 +100,6 @@ {Credo.Check.Refactor.Nesting}, {Credo.Check.Refactor.PipeChainStart}, {Credo.Check.Refactor.UnlessWithElse}, - {Credo.Check.Warning.BoolOperationOnSameValues}, {Credo.Check.Warning.IExPry}, {Credo.Check.Warning.IoInspect}, @@ -131,6 +128,7 @@ # Custom checks can be created using `mix credo.gen.check`. # + {Credo.Check.Consistency.FileLocation} ] } ] |