Warning message.
Warning options.
Column for inclusive start position in the input file with this warning’s source.
warning.column //=> 6
Column for exclusive end position in the input file with this warning’s source.
warning.endColumn //=> 4
Line 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"
.
Returns a warning position and message.
warning.toString() //=> 'postcss-lint:a.css:10:14: Avoid !important'
Warning position and message.
Represents a plugin’s warning. It can be created using
Node#warn
.