style(eslint): match operator-linebreak preferences

This commit is contained in:
Peter Jaszkowiak
2018-11-28 20:29:43 -07:00
committed by Julian Lam
parent 89c025d102
commit ba619c7ec8
40 changed files with 241 additions and 238 deletions

View File

@@ -464,9 +464,9 @@ module.exports = function (Topics) {
function (results, next) {
var cutoff = Topics.unreadCutoff();
var result = tids.map(function (tid, index) {
var read = !results.tids_unread[index]
&& (results.topicScores[index] < cutoff
|| !!(results.userScores[index] && results.userScores[index] >= results.topicScores[index]));
var read = !results.tids_unread[index] &&
(results.topicScores[index] < cutoff ||
!!(results.userScores[index] && results.userScores[index] >= results.topicScores[index]));
return { tid: tid, read: read, index: index };
});