bazelbuild / rules_postcss

PostCSS rules for Bazel
Apache License 2.0
10 stars 13 forks source link

Improve error formatting #62

Closed nex3 closed 3 years ago

nex3 commented 3 years ago

The previous error formatting just dumped all the properties of the error, which was difficult to read. CssSyntaxError.toString() produces a more nicely-formatted error, with a snippet of the source file showing where the error occurred.