Socket
Book a DemoInstallSign in
Socket

remark-lint-no-unused-definitions

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-no-unused-definitions

remark-lint rule to warn when unused definitions are found

latest
Source
npmnpm
Version
4.0.2
Version published
Weekly downloads
165K
1.53%
Maintainers
3
Weekly downloads
 
Created

What is remark-lint-no-unused-definitions?

The remark-lint-no-unused-definitions package is a plugin for remark-lint that checks for unused definitions in Markdown files. It helps maintain clean and efficient Markdown documents by ensuring that all definitions are used.

What are remark-lint-no-unused-definitions's main functionalities?

Linting for Unused Definitions

The primary feature of remark-lint-no-unused-definitions is to identify and report definitions in Markdown files that are declared but not used. In the provided code sample, the definition `[unused]: https://unused.com` is not used anywhere in the document, and the plugin would flag this as an issue.

```markdown
# Example

This is a [link][example].

[example]: https://example.com

This is an unused definition:

[unused]: https://unused.com
```

Other packages similar to remark-lint-no-unused-definitions

Keywords

definition

FAQs

Package last updated on 10 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.