1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-06-13 00:41:59 +03:00

JS: Upated npm deps, upgraded eslint, new eslint config

Upgraded eslint to 11, removed incompatible airbnb config as part of
process. ESlint config now in its own file.
This commit is contained in:
Dan Brown
2025-02-23 11:55:09 +00:00
parent c3a1fabbf0
commit 6548ea4a12
4 changed files with 2155 additions and 1323 deletions

View File

@ -138,7 +138,7 @@ export class PageEditor extends Component {
didSave = true;
this.autoSave.pendingChange = false;
} catch (err) {
} catch {
// Save the editor content in LocalStorage as a last resort, just in case.
try {
const saveKey = `draft-save-fail-${(new Date()).toISOString()}`;