@codemirror/lint
Advanced tools
Changelog
6.8.2 (2024-09-24)
Show lint markers for code replaced by a block widget.
When multiple linters are installed, start displaying results from ones that return quickly even if others are slow to return.
Changelog
6.8.1 (2024-06-19)
Make lint markers non-inclusive again, since having them that way causes more issues than it solves.
Changelog
6.8.0 (2024-05-23)
The new autoPanel
option can be used to make the panel automatically appear when diagnostics are added and close when no diagnostics are left.
Changelog
6.7.1 (2024-05-15)
Don't perform an additional superfluous timed lint run after forceLinting
has been called.
Changelog
6.7.0 (2024-04-30)
The renderMessage
function is now called with the editor view as first argument.
Changelog
6.6.0 (2024-04-29)
The new hideOn
configuration option can be used to control in what circumstances lint tooltips get hidden by state changes.
Changelog
6.5.0 (2024-01-30)
Make lint mark decorations inclusive, so that they are applied even if the marked content is replaced by a widget decoration.
linter
can now be called with null as source to only provide a configuration.
markerFilter
and tooltipFilter
function now get passed the current editor state.
Changelog
6.4.2 (2023-09-14)
Make sure scrolling diagnostic into view in the panel works when the editor is scaled.
Changelog
6.4.1 (2023-08-26)
Fix a crash that could occur when a view was reconfigured in a way that removed the lint extension.