forked from AkkomaGang/akkoma
[Credo][CI] Do not make TODO/FIXME fail
This commit is contained in:
parent
6c8743d0c0
commit
ddcd0910d3
2 changed files with 3 additions and 3 deletions
|
@ -69,8 +69,8 @@
|
||||||
# You can also customize the exit_status of each check.
|
# You can also customize the exit_status of each check.
|
||||||
# If you don't want TODO comments to cause `mix credo` to fail, just
|
# If you don't want TODO comments to cause `mix credo` to fail, just
|
||||||
# set this value to 0 (zero).
|
# set this value to 0 (zero).
|
||||||
{Credo.Check.Design.TagTODO, exit_status: 2},
|
{Credo.Check.Design.TagTODO, exit_status: 0},
|
||||||
{Credo.Check.Design.TagFIXME},
|
{Credo.Check.Design.TagFIXME, exit_status: 0},
|
||||||
|
|
||||||
{Credo.Check.Readability.FunctionNames},
|
{Credo.Check.Readability.FunctionNames},
|
||||||
{Credo.Check.Readability.LargeNumbers},
|
{Credo.Check.Readability.LargeNumbers},
|
||||||
|
|
|
@ -42,4 +42,4 @@ unit-testing:
|
||||||
analysis:
|
analysis:
|
||||||
stage: analysis
|
stage: analysis
|
||||||
script:
|
script:
|
||||||
- mix credo list --only=warnings
|
- mix credo list --only=warnings,todo,fixme
|
||||||
|
|
Loading…
Reference in a new issue