Skip to content

Multi-file fixes!

Compare
Choose a tag to compare
@jfmengels jfmengels released this 11 Feb 21:07
· 44 commits to main since this release

Now requires jfmengels/elm-review v2.15.0, as well as Node.js 14 and newer.

  • Added support for multi-file fixes and file removals introduced in the Elm package (see its CHANGELOG).

  • Added --allow-remove-files to enable file removal in fixes

  • Improved the output of the error report.

  • Added --explain-fix-failure to get more information about why an automatic fix failed.

  • Publicly documented the --fix-all-without-prompt CLI flag. Please use it well!

  • The --compiler flag now additionally resolves the compiler path using the PATH environment variable (more easily enabling elm-review --compiler lamdera for instance).

  • The --elm-format-path flag now additionally resolves the path to elm-format using the PATH environment variable.

  • Fixed an issue where the initial rule created with elm-review new-package was always a module rule, even when it was requested to be a project rule. Thanks to @mateusfpleite!

  • Fixed an issue where files in source-directories under elm-stuff/ would not be included in the analysis.

  • Fixed an issue where colors would not show up.

  • Plenty of behind the scenes improvement to the maintenance of the repository. Thanks to @lishaduck for all of those.

  • Optimized the usages of >> and << used in the Elm code to be run.