All Versions
115
Latest Version
Avg Release Cycle
8 days
Latest Release
-

Changelog History
Page 9

  • v0.4.6 Changes

    • โž• Add ignore_specs option to MaxLineLength
    • ๐Ÿ›  Fix false positives for LargeNumbers in Elixir >= 1.3.2
    • ๐Ÿ›  Fix compiler warnings in preparation for Elixir v1.4
  • v0.4.5 Changes

    • โš  Warnings about redeclaring names of Kernel or local functions now only consider function of arity zero.
    • โš  Warnings for operations with constant result now ignore division by 1
    • ๐Ÿ‘ Better explanation how to configure checks in explain output
  • v0.4.4 Changes

    • New check: readability/parentheses_in_condition
  • v0.4.3 Changes

    • ๐Ÿ›  Fix compatibility issues in Credo.CLI.Command.GenCheck for Elixir < 1.2
  • v0.4.2 Changes

    • ๐Ÿ›  Fix outdated comments regarding .credo.exs in README
    • ๐Ÿ›  Fix name generator including "Lib." prefix for custom checks
  • v0.4.1 Changes

    • ๐Ÿš€ Maintenance release because I apparently don't understand how merging works :sweat:
  • v0.4.0 Changes

    ๐Ÿ‘ Custom check support

    • โž• Adds support for custom checks in your projects.

    Using two new mix commands mix credo.gen.config and mix credo.gen.check you can generate the boilerplate to include custom checks in your projects.

    ๐Ÿ’ฅ BREAKING CHANGE: Checks listed in .credo.exs

    • Prior to v0.4.0, .credo.exs contained the full list of checks specific to your project
    • ๐Ÿ”€ Starting with v0.4.0 the check list in credo.exs will be merged with the standard check list, with your definitions overwriting the defaults
    • ๐Ÿš€ PRO: you can customize individual tasks to your liking and still benefit from additional standard checks with each new release
    • CON: this means checks have to be disabled explicitly in .credo.exs

    ๐Ÿ†• New Checks

    • readability/large_numbers
    • warning/bool_operation_on_same_values
    • warning/unused_file_operation
    • warning/unused_path_operation
    • warning/unused_regex_operation

    Minor Improvements

    • Ready for Elixir 1.3
    • Checks for new Credo versions automatically, like Hex does (can be disabled)
    • Umbrella apps work out of the box now
    • DuplicatedCode can now ignore macro calls
    • ModuleDoc now ignores modules declaring exceptions
    • ModuleDoc now allows modules to be ignored based on their name
    • MatchInCondition now allows "simple" wildcard assignments in conditionals
    • Checks analysing all files in the codebase sequentially (consistency checks) are now run in parallel
    • If --only is given, all issues are shown (mix credo --only MaxLineLength previously yielded no results, since all issues needed --strict to actually be displayed)
  • v0.3.13 Changes

    • ๐Ÿ›  Fix false positives for NameRedeclarationByDef.
    • ๐Ÿ›  Fix false positives for UnusedEnumOperation.
  • v0.3.12 Changes

    • ๐Ÿ›  Fix false positives for SpaceInParentheses.
    • ๐Ÿ›  Fix false positive for SpaceAroundOperators.
  • v0.3.11 Changes

    • ๐Ÿ›  Fix a bug with checks on function names when declaring a variable with the name def, defp or defmacro.