Remove unnecessary params parameter to shared.flattenLists/forEachLine.

This commit is contained in:
David Anson 2018-03-04 23:06:31 -08:00
parent 942cc9af08
commit 748c8cac17
15 changed files with 15 additions and 15 deletions

View file

@ -25,7 +25,7 @@ module.exports = {
var style = params.config.style || "consistent";
var expectedStyle = style;
var nestingStyles = [];
shared.flattenLists(params).forEach(function forList(list) {
shared.flattenLists().forEach(function forList(list) {
if (list.unordered) {
if (expectedStyle === "consistent") {
expectedStyle = unorderedListStyleFor(list.items[0]);