Skip to content

FormatOptions

Parameters for the format function.

Import:

import type { FormatOptions } from 'obsidian-dev-utils/script-utils/formatters/dprint';

Signature:

export interface FormatOptions

Properties

PropertyTypeDescription
paths?string[] | undefinedOptional file paths to format. If omitted, formats the entire project.
rewrite?boolean | undefinedWhether to rewrite the source code.

Links to this page: