Update JS dependencies and eslint config (#21388)

- Update all JS dependencies and playwright image
- Add new eslint rules, enable a few more, fix issues
- Regenerate SVGs
- Tested Vue and Swagger

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
silverwind 2022-10-10 14:02:20 +02:00 committed by GitHub
parent a813c9d8f3
commit 7044d34ae5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 1437 additions and 1503 deletions

View file

@ -44,6 +44,6 @@ export function initVueApp(el, opts = {}) {
if (!el) return null;
return createApp(
Object.assign({delimiters: vueDelimiters}, opts)
{delimiters: vueDelimiters, ...opts}
).mount(el);
}

View file

@ -135,7 +135,7 @@ function updateStopwatchData(data) {
updateStopwatchTime(seconds);
btnEl.removeClass('hidden');
}
return !!data.length;
return Boolean(data.length);
}
let updateTimeIntervalId = null; // holds setInterval id when active