Skip to main content
Version: Next 🚧

[F] checkFormatCadl

function checkFormatCadl(code, prettierConfig?): Promise<boolean>

Parameters

ParameterType
codestring
prettierConfig?Options

Returns

Promise<boolean>

true if code is formatted correctly.

Deprecated

use checkFormatTypeSpec