@codemirror/lint
Advanced tools
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.
Changelog
6.4.0 (2023-07-03)
Diagnostics can now use "hint"
as a severity level.
Diagnostics can now set a markClass
property to add an additional CSS class to the text marked by the diagnostic.
Changelog
6.3.0 (2023-06-23)
A new previousDiagnostic
command can be used to move back through the active diagnostics.
Changelog
6.2.2 (2023-06-05)
Make sure lint gutter tooltips are properly closed when the content of their line changes.