remark-lint-no-consecutive-blank-lines
Advanced tools
Comparing version 1.0.4 to 2.0.0
@@ -55,3 +55,3 @@ /** | ||
var rule = require('unified-lint-rule') | ||
var plural = require('plur') | ||
var plural = require('pluralize') | ||
var visit = require('unist-util-visit') | ||
@@ -106,3 +106,3 @@ var position = require('unist-util-position') | ||
' ' + | ||
plural('line', lines) + | ||
plural('line', Math.abs(lines)) + | ||
' ' + | ||
@@ -109,0 +109,0 @@ (diff > 0 ? 'before' : 'after') + |
{ | ||
"name": "remark-lint-no-consecutive-blank-lines", | ||
"version": "1.0.4", | ||
"version": "2.0.0", | ||
"description": "remark-lint rule to warn for too many consecutive blank lines", | ||
@@ -28,9 +28,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 | ||
} |
@@ -31,4 +31,4 @@ <!--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) | | | ||
| - | - | | ||
| [`remark-preset-lint-markdown-style-guide`](https://github.com/remarkjs/remark-lint/tree/master/packages/remark-preset-lint-markdown-style-guide) | | | ||
@@ -35,0 +35,0 @@ ## Example |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8030
+ Addedpluralize@^8.0.0
+ Added@types/unist@2.0.11(transitive)
+ Addedpluralize@8.0.0(transitive)
+ Addedunist-util-is@4.1.0(transitive)
+ Addedunist-util-visit@2.0.3(transitive)
+ Addedunist-util-visit-parents@3.1.1(transitive)
- Removedplur@^3.0.0
- Removedirregular-plurals@2.0.0(transitive)
- Removedplur@3.1.1(transitive)
- Removedunist-util-is@3.0.0(transitive)
- Removedunist-util-visit@1.4.1(transitive)
- Removedunist-util-visit-parents@2.1.2(transitive)
Updatedunist-util-visit@^2.0.0