stylelint-formatter-yhw
1.1.0 • Public • Published stylelint-formatter-yhw
'You have won' custom formatter for stylelint.
Outputs a message of success if there are no warnings, along with a count of the number of sources checked. It's for Barnaby.
Installation
$ npm install stylelint-formatter-yhw
Usage
Using gulp
as a task-runner:
var config = require('stylelint-config-suitcss')
var formatter = require('stylelint-formatter-yhw')
var gulp = require('gulp')
var stylelint = require('stylelint')
gulp.task('stylelint', function () {
return stylelint.lint({
files: 'css/*.css',
formatter: formatter,
config: config
}).then(function(data) {
console.log(data.output)
}).catch(function(err) {
console.error(err.stack);
})
})
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.1.0 | 3 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.1.0 | 3 | |
1.0.0 | 0 | |
Package Sidebar
Install
npm i stylelint-formatter-yhw
Weekly Downloads