Isolate highlighted error formatter code
commitf91141a88a00a0c0043316daee0f6dd5785b4c03
authorMichael Christensen <michristensen@fb.com>
Thu, 30 Jul 2020 00:57:11 +0000 (29 17:57 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 30 Jul 2020 00:59:00 +0000 (29 17:59 -0700)
tree26a504f47e931d70a8f3f96817666b4c61675c46
parent5bc45695ab621174e29002ff1f7c9b87c44459c1
Isolate highlighted error formatter code

Summary: Puts all of the highlighted error formatter code into its own file, updates call sites, and adds an interface file.

Reviewed By: Wilfred

Differential Revision: D22798141

fbshipit-source-id: 6c630eed1ebb6e3e03a1984acc7f3d8575f05850
hphp/hack/src/client/clientCheckStatus.ml
hphp/hack/src/errors/errors.ml
hphp/hack/src/errors/errors.mli
hphp/hack/src/errors/highlighted_error_formatter.ml [new file with mode: 0644]
hphp/hack/src/errors/highlighted_error_formatter.mli [new file with mode: 0644]
hphp/hack/src/hh_single_type_check.ml
hphp/hack/src/utils/lint/lint_core.ml