untitled notebook

node v8.17.0
version: 1.0.2
endpointsharetweet
const config = require("stylelint-config-recommended"); require("stylelint").lint({ code: ` @-moz-document domain("github.com") a color: red a:visited color: red `, syntax: "sugarss", config }) .then(resultObject => { const result = resultObject.results[0]; console.log(result.errored ? result.warnings : "No errors"); });
Loading…

no comments

    sign in to comment