Skip to content

Configure Compatibility for Deprecation Rewrites #231

@maennchen

Description

@maennchen

Styles converts certain code like :timer.minutes(5) to newer versions like to_timeout(minute: 5), which is awesome.

Unfortunately it is less awesome for libraries that still support Elixir Versions older than the one running mix format and don't have the shiny new functions that the code is being converted to.

I would love if we could implement a config that lets you set a version requirement (or take the one from mix.exs) to decide if a rewrite should be enabled or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions