Socket
Socket
Sign inDemoInstall

@codemirror/lint

Package Overview
Dependencies
5
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous134Next

6.2.1

Diff

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.

marijn
published 6.2.0 •

Changelog

Source

6.2.0 (2023-02-27)

New features

The new needsRefresh option to linter makes it possible to cause linting to be recalculated for non-document state changes.

marijn
published 6.1.1 •

Changelog

Source

6.1.1 (2023-02-15)

Bug fixes

Give lint action buttons a pointer cursor style.

Fix a bug that caused diagnostic action callbacks to be called twice when their button was clicked.

marijn
published 6.1.0 •

Changelog

Source

6.1.0 (2022-11-15)

New features

The new forEachDiagnostic function can be used to iterate over the diagnostics in an editor state.

marijn
published 6.0.0 •

Changelog

Source

6.0.0 (2022-06-08)

Breaking changes

Update dependencies to 6.0.0

marijn
published 0.20.3 •

Changelog

Source

0.20.3 (2022-05-25)

New features

Diagnostic objects may now have a renderMessage method to render their message to the DOM.

marijn
published 0.20.2 •

Changelog

Source

0.20.2 (2022-05-02)

New features

The package now exports the LintSource function type.

The new markerFilter and tooltipFilter options to linter and lintGutter allow more control over which diagnostics are visible and which have tooltips.

marijn
published 0.20.1 •

Changelog

Source

0.20.1 (2022-04-22)

Bug fixes

Hide lint tooltips when the document is changed.

marijn
published 0.20.0 •

Changelog

Source

0.20.0 (2022-04-20)

Breaking changes

Update dependencies to 0.20.0

marijn
published 0.19.6 •

Changelog

Source

0.19.6 (2022-03-04)

Bug fixes

Fix a bug where hovering over the icons in the lint gutter would sometimes fail to show a tooltip or show the tooltip for another line.

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