Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

Deprecated: This package is now included in stylelint core ~A compact formatter for stylelint~

License

Notifications You must be signed in to change notification settings

ntwb/stylelint-formatter-compact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stylelint-formatter-compact

A stylelint compact formatter inspired by ESLint compactformatter.

Build Status NPM version

Deprecated

This package has been deprecated. This package is now included in stylelint core

Installation

npm install stylelint-formatter-compact --save-dev

Usage

$ stylelint file.css --custom-formatter=node_modules/stylelint-formatter-compact
const formatter = require('stylelint-formatter-compact');

grunt.initConfig({
  stylelint: {
    options: {
      formatter: formatter
    },
    all: ['css/**/*.css']
  }
});

grunt.loadNpmTasks('grunt-stylelint');
grunt.registerTask('default', ['stylelint']);
const gulp = require('gulp');
const stylelint = require('gulp-stylelint');
const formatter = require('stylelint-formatter-compact');

gulp.task('lint', () =>
  gulp.src('file.css')
    .pipe(stylelint({
      reporters: [ {
        formatter: formatter,
        console: true
      } ]
    }));
);

About

Deprecated: This package is now included in stylelint core ~A compact formatter for stylelint~

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published