mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 14:30:12 +01: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
|
|
@ -11,7 +11,7 @@ module.exports = {
|
|||
"function": function MD007(params, onError) {
|
||||
var optionsIndent = params.config.indent || 2;
|
||||
var prevIndent = 0;
|
||||
shared.flattenLists(params).forEach(function forList(list) {
|
||||
shared.flattenLists().forEach(function forList(list) {
|
||||
if (list.unordered && list.parentsUnordered) {
|
||||
var indent = shared.indentFor(list.open);
|
||||
if (indent > prevIndent) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue