remark-lint-list-item-indent
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -134,3 +134,3 @@ /** | ||
function visitor(node) { | ||
var loose = node.loose | ||
var spread = node.spread || node.loose | ||
@@ -157,3 +157,3 @@ if (!generated(node)) { | ||
style = | ||
pref === 'tab-size' || (pref === 'mixed' && loose) | ||
pref === 'tab-size' || (pref === 'mixed' && spread) | ||
? Math.ceil(bulletSize / 4) * 4 | ||
@@ -160,0 +160,0 @@ : bulletSize + 1 |
{ | ||
"name": "remark-lint-list-item-indent", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "remark-lint rule to warn when the spacing between a list item’s bullet and its content violates a given style", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -227,2 +227,2 @@ <!--This file is generated--> | ||
[MIT](https://github.com/remarkjs/remark-lint/blob/master/LICENSE) © [Titus Wormer](http://wooorm.com) | ||
[MIT](https://github.com/remarkjs/remark-lint/blob/master/license) © [Titus Wormer](http://wooorm.com) |
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
8627