Releases: rrrene/credo
v1.7.16
Check it out on Hex: https://hex.pm/packages/credo/1.7.16
- Fix compatibility & compiler warnings with Elixir 1.20.0-rc.1
Credo.Check.Refactor.PassAsyncInTestCasesadd new param:force_comment_on_explicit_false(defaults tofalse)Credo.Check.Warning.Dbgadd new param:allow_captures(defaults tofalse)- New Check:
Credo.Check.Warning.UnusedMapOperation - New Check:
Credo.Check.Warning.UnusedOperation
v1.7.15
Check it out on Hex: https://hex.pm/packages/credo/1.7.15
- Improve performance on large projects
- Parse token_metadata for source files
Credo.Check.Warning.ExpensiveEmptyEnumCheckhave better issue messagesCredo.Check.Refactor.MatchInConditionadd new param:allow_operatorsCredo.Check.Refactor.MatchInConditionfix false positiveCredo.Check.Readability.AliasOrderfix false positiveCredo.Check.Readability.FunctionNamesfix false positiveCredo.Check.Readability.SinglePipeadd new param:allow_blocks(defaults totrue)Credo.Check.Refactor.ModuleDependenciesfix false positive
v1.7.14
Check it out on Hex: https://hex.pm/packages/credo/1.7.14
- Fixed regression for
DuplicatedCode - Expanded
Credo.Check.Warning.ExpensiveEmptyEnumCheckto cover less obvious cases - New Check:
Credo.Check.Warning.StructFieldAmount
1.7.13
Check it out on Hex: https://hex.pm/packages/credo/1.7.13
- Fix compatibility & compiler warnings with Elixir 1.19
Credo.Check.Refactor.ABCSizefixed false positive
v1.7.12
Check it out on Hex: https://hex.pm/packages/credo/1.7.12
- Fix compatibility & compiler warnings with Elixir 1.19 (dev)
- Provide
:columnon all checks - Fix check docs in other project's documentation
Credo.Check.Refactor.DoubleBooleanNegationfixed false positiveCredo.Check.Readability.NestedFunctionCallsfixed false positiveCredo.Check.Consistency.UnusedVariableNamesfixed duplicate issues
v1.7.11
Check it out on Hex: https://hex.pm/packages/credo/1.7.11
- Fix compatibility & compiler warnings with Elixir 1.18
- Fix crashing for invalid strings in issue messages
- Show required Elixir version for skipped checks
- Add options
:exit_statusand:categorytoformat_issue/2when usingCredo.Check Credo.Check.Readability.ModuleDocfixed false positiveCredo.Check.Warning.UnusedEnumOperationfixed false positiveCredo.Check.Refactor.ABCSizefixed false positive for tuples and underscored matches (_foo)
v1.7.10
Check it out on Hex: https://hex.pm/packages/credo/1.7.10
- Maintenance release
v1.7.9
Check it out on Hex: https://hex.pm/packages/credo/1.7.9
Credo.Check.Refactor.ABCSizefixed false positive for pin operator (^)Credo.Check.Readability.FunctionNamesfixed false positive for pow operator (**)- Fixed a bug in
Credo.Code.Parameterswhen couting parameters for functions with guards
v1.7.8
Check it out on Hex: https://hex.pm/packages/credo/1.7.8
Credo.Check.Refactor.Applyfixed false positiveCredo.Check.Warning.IoInspectfixed false positiveCredo.Check.Warning.UnsafeToAtomfixed false positiveCredo.Check.Readability.FunctionNamesfixed false positive
v1.7.7
Check it out on Hex: https://hex.pm/packages/credo/1.7.7
- Fix compatibility & compiler warnings with Elixir 1.17
Credo.Check.Design.SkipTestWithoutComment,Credo.Check.Refactor.PassAsyncInTestCasesandCredo.Check.Warning.WrongTestFileExtensionnow work for umrella apps