From 42ba0dd648687f63f850522e9f00afb07265a688 Mon Sep 17 00:00:00 2001 From: Sam Richard Date: Sun, 30 Aug 2015 13:19:14 -0400 Subject: [PATCH] Add Output Results option Currently just console logs out results. Will allow Sass Lint to handle #48 --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index c519133e..2f14a1cb 100644 --- a/index.js +++ b/index.js @@ -87,6 +87,11 @@ sassLint.format = function (results) { return stylish(results); }; +sassLint.outputResults = function (results) { + console.log(results); + return results; +}; + sassLint.failOnError = function (results) { var result, i;