mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
ESlint no-multi-assign
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
This commit is contained in:
@@ -131,7 +131,9 @@ module.exports = function (Categories) {
|
||||
if (teaser) {
|
||||
teaser.cid = topicData[index].cid;
|
||||
teaser.parentCid = parseInt(parentCids[teaser.cid], 10) || 0;
|
||||
teaser.tid = teaser.uid = teaser.user.uid = undefined;
|
||||
teaser.tid = undefined;
|
||||
teaser.uid = undefined;
|
||||
teaser.user.uid = undefined;
|
||||
teaser.topic = {
|
||||
slug: topicData[index].slug,
|
||||
title: validator.escape(String(topicData[index].title)),
|
||||
|
||||
Reference in New Issue
Block a user