Removes superfluous text before printing file names which have improper
format. Also colors the file names purple so they are more easily
differentiated from the diff text.
This can be used to warn on unnecessary string quotations, or on
unquoted string identifiers (in the case that you want all of your string
arguments to be quoted).
This lint also has a quickfix code action to remove it, but it's not
advertised in the diagnostic message because it would become too
verbose, and it's not often the proper fix.
* refactor: remove text provider param from diagnostics function
* refactor: make diagnostics thread safe
This refactor allows the diagnostics to be asynchronous with no worries
of deadlock. This, of course, required a lot of changes because of
function coloring. As such, CLI methods are now asynchronous. This
commit also removes the dependency on `rayon`, and adds the `futures`
crate.