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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
};