1.0.0 • Published 5 years ago

@deg-skeletor/plugin-stylelint v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

Skeletor Stylelint Plugin

Build Status

The purpose of this plugin is to lint a project's CSS using Stylelint. This plugin is part of the Skeletor ecosystem. To learn more about Skeletor, go here.

Installation

Install this plugin into your Skeletor-equipped project via the following terminal command:

    npm install --save-dev @deg-skeletor/plugin-stylelint

Configuration

The configuration for this plugin mimics the standard configuration patterns for Stylelint (learn more here).

Example Configuration

config: {
    files: 'source/css/**/*.css'
}

Configuration Options

files

Type: String A file path or globbing pattern of source files that should be processed. NOTE: When this plugin is run as part of skel watch task, only the changed file will be processed.

formatter

Type: Function Default: stylelint-formatter-pretty Read more on stylelint-formatter-pretty here.

For a detailed list of configuration options, check out Stylelint's options.