formatComments

Control whether whitespace should be inserted at the beginning and end of comments.

Though this option is set to false, comments contain leading or trailing whitespace will still be kept as-is.

Default option is false.

This option is renamed from padComments which is deprecated.

Example for false

Playground

/*comments*/
/* comments */

Example for true

Playground

/* comments */
/* comments */