0.2.4 • Published 8 years ago
grunt-sass-lint v0.2.4
Grunt Sass Lint
Install
npm install grunt-sass-lint --save-devOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-sass-lint');Examples
grunt.initConfig({
	sasslint: {
		options: {
			configFile: 'config/.sass-lint.yml',
		},
		target: ['location/\*.scss', 'other_location/\*.scss']
	}
});grunt.initConfig({
	sasslint: {
		options: {
			configFile: 'config/.sass-lint.yml',
			formatter: 'junit',
			outputFile: 'report.xml'
		},
		target: ['location/*.scss']
	}
});Options
See the sass-lint options.
In addition the following options are supported:
configFile
Type: string
Default: 
Will fallback to .sass-lint.yml or the file location set at the "sasslintConfig" key inside of package.json
formatter
Type: string
Default: stylish
Changes the output format of the generated reports. See https://github.com/eslint/eslint/tree/master/lib/formatters for available formatters.
outputFile
Type: string
Default: 
Will save the generated output to disk instead of command line.
0.2.4
8 years ago
0.2.3
8 years ago
0.2.2
9 years ago
0.2.1
9 years ago
0.2.0
10 years ago
0.1.2
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago
0.1.0-beta.4
10 years ago
0.1.0-beta.3
10 years ago
0.1.0-beta.2
10 years ago
0.1.0-beta.1
10 years ago