Skip to content

mix-format hook not running on .heex files #600

@pikdum

Description

@pikdum

Ran into mix format --check failing in CI because my .heex files weren't formatted.

mix-format = {
name = "mix-format";
description = "Runs the built-in Elixir syntax formatter";
package = tools.elixir;
entry = "${hooks.mix-format.package}/bin/mix format";
files = "\\.exs?$";
};

I think mix format is extensible, though, so maybe there could be some way to configure extra file extensions?
Or could just add .heex?

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