chore: upgrade eslint and prettier (#2376)

* chore: upgrade eslint and prettier

* chore: add restrict-template-expressions
This commit is contained in:
Mo
2023-07-27 14:36:05 -05:00
committed by GitHub
parent acc41edb02
commit 4a29e2a24c
1283 changed files with 4416 additions and 5131 deletions

View File

@@ -156,7 +156,7 @@ const SuperNoteConverter = ({
return (
<Modal
title={`Convert to ${name}`}
title={`Convert to ${uiFeature.displayName}`}
close={closeDialog}
actions={modalActions}
className={{

View File

@@ -31,7 +31,9 @@ export function handleEditorChange(
onChange?.(stringifiedEditorState, previewText)
} catch (error) {
window.alert(
`An invalid change was made inside the Super editor. Your change was not saved. Please report this error to the team: ${error}`,
`An invalid change was made inside the Super editor. Your change was not saved. Please report this error to the team: ${JSON.stringify(
error,
)}`,
)
}
}