stil4m / elm-analyse

A tool that allows you to analyse your Elm code, identify deficiencies and apply best practices.
https://stil4m.github.io/elm-analyse/
MIT License
415 stars 56 forks source link

ExposeAll fixer #211

Open andys8 opened 5 years ago

andys8 commented 5 years ago

elm-format currently replaces exposes (..) with the explicit names. This behavior is discussed and may be removed in the future.

In elm-analyse there is a ExposeAll check that can be enabled or disabled. It would be awesome to have an implementation of the a "Fixer" that replaces (..) automatically with names. It's the perfect place for this behavior and people who want to have (..) linted and fixed/replaced can use elm-analayse.

andys8 commented 5 years ago

Update: It is removed by default from elm-format. There is a way to add the list: https://github.com/avh4/elm-format/issues/578#issuecomment-517966240