Enable brace-style eslint rules
This commit is contained in:

committed by
GitHub

parent
73bdcdfd0a
commit
5a8f484a03
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user