mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
eslint: Enable no-extra-parens rule.
Following sub-configuration is disabled:
"nestedBinaryExpressions": false,
This commit is contained in:
@@ -22,7 +22,7 @@ exports.reload = function () {
|
||||
|
||||
exports.can_edit = function (group_id) {
|
||||
var me = people.get_person_from_user_id(people.my_current_user_id());
|
||||
return (user_groups.is_member_of(group_id, people.my_current_user_id()) || me.is_admin);
|
||||
return user_groups.is_member_of(group_id, people.my_current_user_id()) || me.is_admin;
|
||||
};
|
||||
|
||||
exports.populate_user_groups = function () {
|
||||
|
||||
Reference in New Issue
Block a user