import { Result } from "https://deno.land/x/postcss@8.4.16/lib/postcss.d.ts";
Creates an instance of Warning
and adds it to Result#messages
.
if (decl.important) {
result.warn('Avoid !important', { node: decl, word: '!important' })
}
Parameters
optional
options: WarningOptionsWarning options.