mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 10:26:15 -04:00
lint: Rerun eslint --fix
to nuke trailing function call commas
eslint-config-etherpad 1.0.11 changed the comma-dangle rule to
prohibit trailing commas for function arguments. See:
673ab07acf
Re-run the automated fixes to apply the rule change.
This also fixes a few lint issues in changes that were made after
`eslint --fix` was originally run.
This commit is contained in:
parent
98967735d5
commit
107942ad8a
8 changed files with 11 additions and 11 deletions
|
@ -42,7 +42,7 @@ describe('timeslider follow', function () {
|
|||
const lines = helper.linesDiv();
|
||||
helper.selectLines(lines[0], lines[lines.length - 1]); // select all lines
|
||||
// probably unnecessary, but wait for the selection to be Range not Caret
|
||||
await helper.waitForPromise(() => !helper.padInner$.document.getSelection().isCollapsed,
|
||||
await helper.waitForPromise(() => !helper.padInner$.document.getSelection().isCollapsed
|
||||
// only supported in FF57+
|
||||
// return helper.padInner$.document.getSelection().type === 'Range';
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue