[eslint] Enable yoda and eqeqeq

This commit is contained in:
Louis Lam
2022-04-17 15:43:03 +08:00
parent d71c086447
commit 47c72192e1
19 changed files with 41 additions and 39 deletions

View File

@@ -27,7 +27,7 @@ class OneBot extends NotificationProvider {
"auto_escape": true,
"message": pushText,
};
if (notification.msgType == "group") {
if (notification.msgType === "group") {
data["message_type"] = "group";
data["group_id"] = notification.recieverId;
} else {