-
[breaking change] Set minimum Node version to 14 (#33)
-
Test plugin against Prettier v1, v2 and v3, use 3.0.0-alpha.4 internally (#36)
-
Add timeout when calling
elm-format
(#39) -
Update dependencies and refactor codebase (#31, #32, #34, #35, #37 and #38)
-
Upgrade dependencies (includes
elm-format
0.8.3
→0.8.5
) (#23) -
Replace TSLint with ESLint (#24)
-
[breaking change] Set minimum Node version to 12 (#25)
-
Pin
elm-format
to0.8.3
-
Use Prettier v2 in CI (v1 should be still supported)
-
Upgrade dependencies
-
Switch to Github Actions (drop Azure DepOps CI/CD)
-
[breaking change] Drop Node 8 support due to its end of life on 2019-12-31
-
Upgrade dependencies
-
Pin
elm-format
dependency to0.8.2
instead of relying on^0.8.2
(this can improve predictability of the plugin behaviour in future)
-
[breaking change] Drop Node 6 support due to its end of life on 2019-04-30
-
Upgrade dependencies
-
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 installprettier-plugin-elm@0.3
. -
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
elm-format@0.7.0-exp
- 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 elm-format@0.6.1-alpha
.