-
Refactor the plugin using TypeScript and thus possibly improve stability in a couple of rare edge cases (#8)
-
Set up Azure Pipelines, remove Travis, AppVeyor and Code Climate integrations (e518299c, #9, 0e68c6eb)
-
Remove
prettier
frompeerDependencies
to fix a warning when installing the plugin globally (0aea2ea6, ff1411f9) -
Upgrade dependencies (a36e0017)
-
Reflect recent changes in README.md (be2676b7)
- Fix exception in
getElmFormatVersion()
when no globalelm-format
is installed (#6)
-
Upgrade
elm-format
to0.8.1
to support Elm0.19
(#4)This includes replacing
module Main exposing (..)
withmodule Main exposing (something)
in tests, according to the new output inelm-format
.To support formatting of Elm code in markdown blocks,
prettier-plugin-elm
passes--elm-version=0.19
toelm-format
. If you use Elm0.18
, please install[email protected]
. -
Stop running tests in Node 9 due to its end of life on 2018-06-30 (#5)
-
Internal:
- Upgrade dependencies
- Add pre-push git hook via
husky
to avoid dumb linting errors in CI
-
Implement caching mechanism to speed-up formatting of Elm blocks in markdown files (#3)
-
Simplify
locStart()
andlocEnd()
(#2) -
Configure automatic testing on Windows using AppVeyor.
- Switch to
[email protected]
- Use correct instance of
elm-format
when globally installed with npm (#1) - Fix
```markdown
syntax highlighting on GitHub and NPM
Minimal working solution that uses [email protected]
.