src/notifications.js
Function merge
has 96 lines of code (exceeds 75 allowed). Consider refactoring. Open
Open
Notifications.merge = async function (notifications) {
// When passed a set of notification objects, merge any that can be merged
const mergeIds = [
'notifications:upvoted-your-post-in',
'notifications:user-started-following-you',