@codemirror/lint
Advanced tools
Changelog
6.8.4 (2024-11-28)
Don't create overlapping decorations when diagnostics overlap.
Fix an issue where block widgets could cause the lint gutter to show diagnostics multiple times.
Changelog
6.8.3 (2024-11-21)
Fix an issue that prevented tooltips in the lint gutter from being displayed.
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.