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:
Shubham Dhama
2018-06-05 00:39:11 +05:30
parent ea6a1750f5
commit c6738889a9
28 changed files with 58 additions and 57 deletions

View File

@@ -84,7 +84,7 @@ exports.initialize = function () {
if (prev_sender !== undefined) {
var first_group_msg = $(this).find('.message_row').first();
var message_sender = first_group_msg.find('.message_sender');
if (! message_sender.find('.inline_profile_picture').length) {
if (!message_sender.find('.inline_profile_picture').length) {
message_sender.replaceWith(prev_sender.clone());
}
}