How do I edit the notification c ever so I have notification lines less lines

For some apps I have like 10 alerts on the notification Center. How do I edit the settings so I have no more than five alerts per app.
Welcome to iMore! Unfortunately there is no setting for that. If you're trying to minimize the amount of notifications in Notification Center your best bet is to go to Settings > Notifications, and removing unnecessary apps from showing up in there.

Original thread: https://forums.imore.com/threads/how-do-i-edit-the-notification-c-ever-so-i-have-notification-lines-less-lines.352789/