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
Previous124Next

0.19.5

Diff

Changelog

Source

0.19.5 (2022-02-25)

Bug fixes

Make sure the lint gutter tooltips are positioned under their icon, even when the line is wrapped.

marijn
published 0.19.4 •

Changelog

Source

0.19.4 (2022-02-25)

Bug fixes

Fix an issue where an outdated marker could stick around on the lint gutter after all diagnostics were removed.

New features

Add a hoverTime option to the lint gutter. Change default hover time to 300

marijn
published 0.19.3 •

Changelog

Source

0.19.3 (2021-11-09)

New features

Export a function lintGutter which returns an extension that installs a gutter marking lines with diagnostics.

The package now exports the effect used to update the diagnostics (setDiagnosticsEffect).

marijn
published 0.19.2 •

Changelog

Source

0.19.2 (2021-09-29)

Bug fixes

Fix a bug where reconfiguring the lint source didn't restart linting.

marijn
published 0.19.1 •

Changelog

Source

0.19.1 (2021-09-17)

Bug fixes

Prevent decorations that cover just a line break from being invisible by showing a widget instead of range for them.

New features

The diagnosticCount method can now be used to determine whether there are active diagnostics.

marijn
published 0.19.0 •

Changelog

Source

0.19.0 (2021-08-11)

Breaking changes

Update dependencies to 0.19.0

marijn
published 0.18.6 •

Changelog

Source

0.18.6 (2021-08-08)

Bug fixes

Fix a crash in the key handler of the lint panel when no diagnostics are available.

marijn
published 0.18.5 •

Changelog

Source

0.18.5 (2021-08-07)

Bug fixes

Fix an issue that caused openLintPanel to not actually open the panel when ran before the editor had any lint state loaded.

New features

The package now exports a forceLinting function that forces pending lint queries to run immediately.

marijn
published 0.18.4 •

Changelog

Source

0.18.4 (2021-06-07)

Bug fixes

Multiple linter extensions can now be added to an editor without disrupting each other.

Fix poor layout on lint tooltips due to changes in @codemirror/tooltip.

marijn
published 0.18.3 •

Changelog

Source

0.18.3 (2021-05-10)

Bug fixes

Fix a regression where using setDiagnostics when linting hadn't been abled yet ignored the first set of diagnostics.

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