Socket
Socket
Sign inDemoInstall

remark-lint-list-item-indent

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-list-item-indent - npm Package Compare versions

Comparing version 1.0.5 to 2.0.0

8

index.js

@@ -109,3 +109,3 @@ /**

var rule = require('unified-lint-rule')
var plural = require('plur')
var plural = require('pluralize')
var visit = require('unist-util-visit')

@@ -150,2 +150,3 @@ var position = require('unist-util-position')

var reason
var abs

@@ -165,2 +166,3 @@ marker = contents

diff = style - marker.length
abs = Math.abs(diff)

@@ -171,5 +173,5 @@ reason =

' ' +
Math.abs(diff) +
abs +
' ' +
plural('space', diff)
plural('space', abs)

@@ -176,0 +178,0 @@ file.message(reason, final)

{
"name": "remark-lint-list-item-indent",
"version": "1.0.5",
"version": "2.0.0",
"description": "remark-lint rule to warn when the spacing between a list item’s bullet and its content violates a given style",

@@ -29,9 +29,9 @@ "license": "MIT",

"dependencies": {
"plur": "^3.0.0",
"pluralize": "^8.0.0",
"unified-lint-rule": "^1.0.0",
"unist-util-generated": "^1.1.0",
"unist-util-position": "^3.0.0",
"unist-util-visit": "^1.1.1"
"unist-util-visit": "^2.0.0"
},
"xo": false
}

@@ -36,3 +36,3 @@ <!--This file is generated-->

| Preset | Setting |
| ------ | ------- |
| - | - |
| [`remark-preset-lint-markdown-style-guide`](https://github.com/remarkjs/remark-lint/tree/master/packages/remark-preset-lint-markdown-style-guide) | `'mixed'` |

@@ -39,0 +39,0 @@ | [`remark-preset-lint-recommended`](https://github.com/remarkjs/remark-lint/tree/master/packages/remark-preset-lint-recommended) | `'tab-size'` |

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