mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
Remove unnecessary params parameter to shared.flattenLists/forEachLine.
This commit is contained in:
parent
942cc9af08
commit
748c8cac17
15 changed files with 15 additions and 15 deletions
|
@ -13,7 +13,7 @@ module.exports = {
|
|||
var olSingle = params.config.ol_single || 1;
|
||||
var ulMulti = params.config.ul_multi || 1;
|
||||
var olMulti = params.config.ol_multi || 1;
|
||||
shared.flattenLists(params).forEach(function forList(list) {
|
||||
shared.flattenLists().forEach(function forList(list) {
|
||||
var lineCount = list.lastLineIndex - list.open.map[0];
|
||||
var allSingle = lineCount === list.items.length;
|
||||
var expectedSpaces = list.unordered ?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue