Socket
Socket
Sign inDemoInstall

@codemirror/lint

Package Overview
Dependencies
5
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

6.7.1

Diff

marijn
published 6.7.0 •

Changelog

Source

6.7.0 (2024-04-30)

New features

The renderMessage function is now called with the editor view as first argument.

marijn
published 6.6.0 •

Changelog

Source

6.6.0 (2024-04-29)

New features

The new hideOn configuration option can be used to control in what circumstances lint tooltips get hidden by state changes.

marijn
published 6.5.0 •

Changelog

Source

6.5.0 (2024-01-30)

Bug fixes

Make lint mark decorations inclusive, so that they are applied even if the marked content is replaced by a widget decoration.

New features

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.

marijn
published 6.4.2 •

Changelog

Source

6.4.2 (2023-09-14)

Bug fixes

Make sure scrolling diagnostic into view in the panel works when the editor is scaled.

marijn
published 6.4.1 •

Changelog

Source

6.4.1 (2023-08-26)

Bug fixes

Fix a crash that could occur when a view was reconfigured in a way that removed the lint extension.

marijn
published 6.4.0 •

Changelog

Source

6.4.0 (2023-07-03)

New features

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.

marijn
published 6.3.0 •

Changelog

Source

6.3.0 (2023-06-23)

New features

A new previousDiagnostic command can be used to move back through the active diagnostics.

marijn
published 6.2.2 •

Changelog

Source

6.2.2 (2023-06-05)

Bug fixes

Make sure lint gutter tooltips are properly closed when the content of their line changes.

marijn
published 6.2.1 •

Changelog

Source

6.2.1 (2023-04-13)

Bug fixes

The linter function now eagerly includes all lint-related extensions, rather than appending them to the configuration as-needed, so that turning off linting by clearing the compartment that contains it works properly.

234Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc