SIGN IN SIGN UP

fix(format): handle custom formatter command property with enabled() interface

The formatter Info interface uses enabled(): Promise<string[] | false> but
user configs provide a command property. Added explicit return type to the
arrow function that transforms command into the enabled() return value.

Also added test to verify custom formatters with command property work.
D
Dax Raad committed
7a28d0520a02dd31e24e497d9478ca25bf5e9d0b
Parent: 205affa