Add RFC for Notification Categories
10,000 foot view
Provide a useful mechanism for assigning notifications to taxonomies so they may be actioned upon differently under varying operating contexts.
Turning something like:
warning eslint > jshint > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
Into something like:
warn [infosec] vulnerability detected in minimatch ...
Impetus
We all yearn to reduce cognitive overhead during development. One such way of helping achieve that is to open a method by which packages may group like notifications into categories which may then be actioned upon in some way by the end-user via an API, be it CLI or configuration-based.
In turn taxonomies like [infosec] or [optim] enable parsable messages in buffered output for enhanced logging while adding value to end-users, if displayed.
Following a push notification model openens the ability to use OS-integrated notifiers to send important notifications to users via in-built tooling instead of only messaging on the CLI.
Please see files changed for the full RFC. View prettified.