grunt-contrib-sass-lint
v0.0.4
Published
A grunt task to employ sass-lint for better Sass
Downloads
29
Readme
grunt-contrib-sass-lint
A grunt task to employ sass-lint for better Sass
Getting started
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-contrib-sass-lint --save-devOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-contrib-sass-lint');Sass-lint Task
Run this task with
grunt sass-lintcommand.
Task targets, files and options may be specified according to the grunt Configuring tasks guide.
Options
Please, only provide a String to grunt.file.src in your target config.
config
Type: String
This options resembles with the configPath option of sass-lint.
- if so not provided, it is searched for
.sass-lint.ymlin the cwd.
Task coded and submitted by Sebastian Döll
