Warning message.
Optionalopts: WarningOptionsWarning options.
Column for inclusive start position in the input file with this warning’s source.
warning.column //=> 6
OptionalendColumn for exclusive end position in the input file with this warning’s source.
warning.endColumn //=> 4
OptionalendLine for exclusive end position in the input file with this warning’s source.
warning.endLine //=> 6
Line for inclusive start position in the input file with this warning’s source.
warning.line //=> 5
Contains the CSS node that caused the warning.
warning.node.toString() //=> 'color: white !important'
The name of the plugin that created this warning.
When you call Node#warn it will fill this property automatically.
warning.plugin //=> 'postcss-important'
The warning message.
warning.text //=> 'Try to avoid !important'
Type to filter warnings from Result#messages.
Always equal to "warning".
Represents a plugin’s warning. It can be created using
Node#warn.