mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
eslint: Add and enable space-unary-ops rule.
Info about rule at https://eslint.org/docs/rules/space-unary-ops.
This commit is contained in:
@@ -55,7 +55,7 @@ var valid_table_names = {
|
||||
};
|
||||
|
||||
exports.get_table = function (table_name) {
|
||||
if (! valid_table_names.hasOwnProperty(table_name)) {
|
||||
if (!valid_table_names.hasOwnProperty(table_name)) {
|
||||
return $();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user