mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
ESlint no-space-func
This commit is contained in:
@@ -111,7 +111,7 @@
|
|||||||
"object-property-newline": "off",
|
"object-property-newline": "off",
|
||||||
"no-continue": "off",
|
"no-continue": "off",
|
||||||
"no-extra-semi": "off",
|
"no-extra-semi": "off",
|
||||||
"no-spaced-func": "off",
|
// "no-spaced-func": "off",
|
||||||
// "no-useless-return": "off"
|
// "no-useless-return": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -247,4 +247,4 @@
|
|||||||
db.close();
|
db.close();
|
||||||
};
|
};
|
||||||
|
|
||||||
} (exports));
|
}(exports));
|
||||||
|
|||||||
@@ -168,5 +168,5 @@
|
|||||||
|
|
||||||
module.helpers = module.helpers || {};
|
module.helpers = module.helpers || {};
|
||||||
module.helpers.redis = require('./redis/helpers');
|
module.helpers.redis = require('./redis/helpers');
|
||||||
} (exports));
|
}(exports));
|
||||||
|
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ module.exports = function (Posts) {
|
|||||||
return callback(err);
|
return callback(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
callback (null, {upvoted: hasVoted[0], downvoted: hasVoted[1]});
|
callback(null, {upvoted: hasVoted[0], downvoted: hasVoted[1]});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user