Enable brace-style eslint rules

This commit is contained in:
jamiebuilds-signal
2022-09-13 14:48:09 -07:00
committed by GitHub
parent 73bdcdfd0a
commit 5a8f484a03
9 changed files with 54 additions and 13 deletions

View File

@@ -79,7 +79,9 @@ type MentionInsert = {
const isMention = (insert?: unknown): insert is MentionInsert => {
if (insert) {
if (Object.getOwnPropertyNames(insert).includes('mention')) return true;
if (Object.getOwnPropertyNames(insert).includes('mention')) {
return true;
}
}
return false;
};