interface WarningOptions {
    end?: RangePosition;
    endIndex?: number;
    index?: number;
    node?: Node;
    plugin?: string;
    start?: RangePosition;
    word?: string;
}

Properties

End position, exclusive, in CSS node string that caused the warning.

endIndex?: number

End index, exclusive, in CSS node string that caused the warning.

index?: number

Start index, inclusive, in CSS node string that caused the warning.

node?: Node

CSS node that caused the warning.

plugin?: string

Name of the plugin that created this warning. Result#warn fills this property automatically.

Start position, inclusive, in CSS node string that caused the warning.

word?: string

Word in CSS source that caused the warning.