Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

v2.0.0

Choose a tag to compare

@tmcw tmcw released this 14 Dec 22:27
· 92 commits to main since this release
095e03f

BREAKING CHANGE: if you use 1.0.0, you'll definitely have to update code.

I realized that this module wasn't doing things right! And it was good to fix it. The right way to manage configuration in CodeMirror is with a Facet, not with passing parameters!

So before, something like lint was

tsLinter({ env, path });

But in 2.0.0, you use it like

tsLinter();

And you need a new thing, the facet!

tsFacet.of({ env, path });

You need that in your extensions list - that's where the other extensions get their configuration from.