/grunt-stylelint

Grunt plugin for running Stylelint

Primary LanguageJavaScriptMIT LicenseMIT

NPM version Build Status devDependency Status

grunt-stylelint

Grunt plugin for running Stylelint

Getting started

If this is the first time you're using Grunt, the getting started guide will show you how to get up and running.

Once you have that installed, with a Gruntfile set for your code, you can install the plugin with:

npm install grunt-stylelint --save-dev

In your Gruntfile, add the line:

grunt.loadNpmTasks( 'grunt-stylelint' );

Running and configuring

Run this task with the grunt stylelint command.

You can specify the targets and options for the task using the normal Grunt configuration – see Grunt's guide on how to configure tasks in general.