mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-20 16:00:13 +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
|
|
@ -10,7 +10,7 @@ module.exports = {
|
|||
"Consider starting bulleted lists at the beginning of the line",
|
||||
"tags": [ "bullet", "ul", "indentation" ],
|
||||
"function": function MD006(params, onError) {
|
||||
shared.flattenLists(params).forEach(function forList(list) {
|
||||
shared.flattenLists().forEach(function forList(list) {
|
||||
if (list.unordered && !list.nesting) {
|
||||
shared.addErrorDetailIf(onError, list.open.lineNumber,
|
||||
0, shared.indentFor(list.open), null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue