Skip to content
# Type Alias: CommentStyle

CommentStyle = "block" | "smart"

Defined in: packages/core/src/transformers/SqlFormatter.ts:24

CommentStyle determines how comments are formatted in the output.

  • 'block': Keep original comment style (default)
  • 'smart': Convert single-line to --, multi-line to block comments, optimize for comma break styles

Released under the MIT License.