A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sasstools/grunt-sass-lint below:

sasstools/grunt-sass-lint: Grunt plugin for Sass Lint

Grunt plugin for Sass Lint.

npm install grunt-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-sass-lint');
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']
	}
});

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

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.

Type: string Default: ``

Will save the generated output to disk instead of command line.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4