Socket
Socket
Sign inDemoInstall

remark-lint-no-shortcut-reference-image

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-no-shortcut-reference-image - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

7

index.js

@@ -10,5 +10,6 @@ /**

* Shortcut references render as images when a definition is found, and as
* plain text without definition. Sometimes, you don’t intend to create an
* image from the reference, but this rule still warns anyway. In that case,
* you can escape the reference like so: `!\[foo]`.
* plain text without definition.
* Sometimes, you don’t intend to create an image from the reference, but this
* rule still warns anyway.
* In that case, you can escape the reference like so: `!\[foo]`.
*

@@ -15,0 +16,0 @@ * @example {"name": "valid.md"}

{
"name": "remark-lint-no-shortcut-reference-image",
"version": "1.0.2",
"version": "1.0.3",
"description": "remark-lint rule to warn when shortcut reference images are used",

@@ -16,5 +16,5 @@ "license": "MIT",

"bugs": "https://github.com/remarkjs/remark-lint/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],

@@ -21,0 +21,0 @@ "files": [

@@ -5,8 +5,17 @@ <!--This file is generated-->

[![Build][build-badge]][build]
[![Coverage][coverage-badge]][coverage]
[![Downloads][downloads-badge]][downloads]
[![Size][size-badge]][size]
[![Sponsors][sponsors-badge]][collective]
[![Backers][backers-badge]][collective]
[![Chat][chat-badge]][chat]
Warn when shortcut reference images are used.
Shortcut references render as images when a definition is found, and as
plain text without definition. Sometimes, you don’t intend to create an
image from the reference, but this rule still warns anyway. In that case,
you can escape the reference like so: `!\[foo]`.
plain text without definition.
Sometimes, you don’t intend to create an image from the reference, but this
rule still warns anyway.
In that case, you can escape the reference like so: `!\[foo]`.

@@ -56,2 +65,4 @@ ## Presets

[npm][]:
```sh

@@ -61,3 +72,3 @@ npm install remark-lint-no-shortcut-reference-image

## Usage
## Use

@@ -99,4 +110,54 @@ You probably want to use it on the CLI through a config file:

## Contribute
See [`contributing.md`][contributing] in [`remarkjs/.github`][health] for ways
to get started.
See [`support.md`][support] for ways to get help.
This project has a [Code of Conduct][coc].
By interacting with this repository, organisation, or community you agree to
abide by its terms.
## License
[MIT](https://github.com/remarkjs/remark-lint/blob/master/LICENSE) © [Titus Wormer](http://wooorm.com)
[MIT][license] © [Titus Wormer][author]
[build-badge]: https://img.shields.io/travis/remarkjs/remark-lint/master.svg
[build]: https://travis-ci.org/remarkjs/remark-lint
[coverage-badge]: https://img.shields.io/codecov/c/github/remarkjs/remark-lint.svg
[coverage]: https://codecov.io/github/remarkjs/remark-lint
[downloads-badge]: https://img.shields.io/npm/dm/remark-lint-no-shortcut-reference-image.svg
[downloads]: https://www.npmjs.com/package/remark-lint-no-shortcut-reference-image
[size-badge]: https://img.shields.io/bundlephobia/minzip/remark-lint-no-shortcut-reference-image.svg
[size]: https://bundlephobia.com/result?p=remark-lint-no-shortcut-reference-image
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
[backers-badge]: https://opencollective.com/unified/backers/badge.svg
[collective]: https://opencollective.com/unified
[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg
[chat]: https://spectrum.chat/unified/remark
[npm]: https://docs.npmjs.com/cli/install
[health]: https://github.com/remarkjs/.github
[contributing]: https://github.com/remarkjs/.github/blob/master/contributing.md
[support]: https://github.com/remarkjs/.github/blob/master/support.md
[coc]: https://github.com/remarkjs/.github/blob/master/code-of-conduct.md
[license]: https://github.com/remarkjs/remark-lint/blob/master/license
[author]: https://wooorm.com
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc