mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
lint: Close function args on same line as final arg
This commit is contained in:
parent
37508403d8
commit
daee90d2af
7 changed files with 10 additions and 25 deletions
|
@ -316,8 +316,7 @@ const getHTMLFromAtext = async (pad, atext, authorColors) => {
|
|||
if ((!prevLine || prevLine.listLevel !== line.listLevel) ||
|
||||
(line.listTypeName !== prevLine.listTypeName)) {
|
||||
const exists = _.find(openLists, (item) => (
|
||||
item.level === line.listLevel && item.type === line.listTypeName),
|
||||
);
|
||||
item.level === line.listLevel && item.type === line.listTypeName));
|
||||
if (!exists) {
|
||||
let prevLevel = 0;
|
||||
if (prevLine && prevLine.listLevel) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue