All rules currently get passed through the legacy rule creator here:
|
function reportProblems(create) { |
This is a big performance sink for various reasons (megamorphic calls in some places, various levels of wrapping, yield, etc).
we should absolutely just write regular rules instead, i.e. return a listeners object as per the eslint docs
example PR: #15