[F] checkFormatCadl
function checkFormatCadl(code, prettierConfig?): Promise<boolean>
Parameters
Parameter | Type |
---|---|
code | string |
prettierConfig ? | Options |
Returns
Promise
<boolean
>
true if code is formatted correctly.
Deprecated
use checkFormatTypeSpec