Fixes #89. I hope you won't think I'm too forward with this proposal ☹ it was taking a while to grok through index.ts and this helped me understand it quite a bit.
These are the only real code changes I made other to pass through parameters, and for each it was only to improve clarity:
Rename computeKey to computeRuleFailureKey
Rename filterProblemsForDocument to filterFailuresForDocument(and generally consolidated "problem" into "failure")
Fixes #89. I hope you won't think I'm too forward with this proposal ☹ it was taking a while to grok through
index.ts
and this helped me understand it quite a bit.These are the only real code changes I made other to pass through parameters, and for each it was only to improve clarity:
computeKey
tocomputeRuleFailureKey
filterProblemsForDocument
tofilterFailuresForDocument
(and generally consolidated "problem" into "failure")