cel-ts - v0.1.0-alpha
    Preparing search index...

    Interface FormatterOptions

    Options controlling CEL formatting output.

    interface FormatterOptions {
        breakBinaryOperators?: "none" | "logical" | "all";
        breakTernary?: boolean;
        chainStyle?: "inline" | "vertical" | "auto";
        indentSize?: number;
        maxLineLength?: number;
        multilineCallArgs?: "auto" | "never" | "always";
        multilineLiterals?: "auto" | "never" | "always";
    }
    Index

    Properties

    breakBinaryOperators?: "none" | "logical" | "all"

    Break binary operators: none, logical-only, or all.

    breakTernary?: boolean

    Allow ternary formatting to break across multiple lines.

    chainStyle?: "inline" | "vertical" | "auto"

    Format chained member access and calls inline, vertically, or auto.

    indentSize?: number

    Number of spaces to indent when breaking lines.

    maxLineLength?: number

    Maximum line length before formatting switches to multiline.

    multilineCallArgs?: "auto" | "never" | "always"

    Format call arguments inline, multiline, or auto.

    multilineLiterals?: "auto" | "never" | "always"

    Format list/map/struct literals inline, multiline, or auto.