@deg-skeletor/plugin-stylelint

1.0.0 • Public • Published

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.

/@deg-skeletor/plugin-stylelint/

    Package Sidebar

    Install

    npm i @deg-skeletor/plugin-stylelint

    Weekly Downloads

    4

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    9.99 kB

    Total Files

    6

    Last publish

    Collaborators

    • heaper
    • briangraves
    • aladage
    • jlawhorn
    • alejcerro