0.0.4 • Published 8 years ago

grunt-contrib-sass-lint v0.0.4

Weekly downloads
16
License
SEE LICENSE IN LI...
Repository
github
Last release
8 years ago

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-dev

Once 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-lint command.

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.yml in the cwd.

Task coded and submitted by Sebastian Döll