New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

remark-lint-no-unused-definitions

Package Overview
Dependencies
Maintainers
5
Versions
15
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

1.0.5
Source
npm
Version published
Maintainers
5
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

remark

FAQs

Package last updated on 20 Jun 2019

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