Skip to content

Commit

Permalink
Remove support for ancient loose field
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 12, 2021
1 parent 1a1e7cc commit cd80985
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/remark-lint-list-item-indent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ const remarkLintListItemIndent = lintRule(
visit(tree, 'list', (node) => {
if (generated(node)) return

// @ts-expect-error: legacy.
const spread = Boolean(node.spread || node.loose)
const spread = node.spread
let index = -1

while (++index < node.children.length) {
Expand Down

0 comments on commit cd80985

Please sign in to comment.