Grunt Linter

Installation

npm install grunt-ncss-linter

Usage

Load the task:

grunt.loadNpmTasks('grunt-ncss-linter');

Config the task:

grunt.initConfig(
{
	ncsslint:
	{
		name:
		{
			options:
			{
				config: '.ncsslintrc',
				html: null,
				path: null,
				url: null,
				namespace: null,
				separator: '-',
				selector: '*',
				logLevel: 'warn',
				thresholdError: 0,
				thresholdWarn: 0,
				haltOnError: false,
				haltOnWarn: false
			}
		}
	}
}
Edit on GitHub