npm install grunt-sass-lint --save-dev
grunt.initConfig({
sasslint: {
options: {
configFile: 'config/.sass-lint.yml',
},
target: ['location/*.scss']
}
});
See the sass-lint options.
In addition the following options are supported:
Type: string
Default: ``
Will fallback to .sass-lint.yml
or the file location set at the "sasslintConfig"
key inside of package.json