1.0.0 • Published 7 years ago

grunt-ejslint v1.0.0

Weekly downloads
41
License
MIT
Repository
github
Last release
7 years ago

grunt-ejslint

Validate EJS files with ejs-lint

Install

$ npm install --save-dev grunt-ejslint

Usage

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks

grunt.initConfig({
	ejslint: {
		target: ['file.js']
	}
});

grunt.registerTask('default', ['ejslint']);

Examples

Custom config

grunt.initConfig({
	ejslint: {
		options: {
			delimiter: '<%',
		},
		target: ['file.js']
	}
});

License

MIT