stylelint-formatter-yhw

1.1.0 • Public • Published

stylelint-formatter-yhw

NPM version Travis Build Status

'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);
  })
})

Changelog

License

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.03latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.03
1.0.00

Package Sidebar

Install

npm i stylelint-formatter-yhw

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • jeddy3