Skip to content

a-ibs/pre-commit-mirrors-elm-format

Repository files navigation

pre-commit-mirrors-elm-format

lint

Hooks for pre-commit that validate Elm files

Using elm-format with pre-commit

  • To use this you first need to install pre-commit
  • Run pre-commit install from the root of your project

Finally add this to your .pre-commit-config.yaml:

Usage

- repo: https://github.com/a-ibs/pre-commit-mirrors-elm-format
  rev: 1.0.0
  hooks:
    - id: elmformat

Now when you try to commit an Elm file, it will run elm-format and prevent commit if the checks fail.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages