bahmutov/grunt-filenames — pull request #3 by rbmoore (2014-08-15 20:14:26+00:00)
Title: allow custom error message for failed validation

This allows error message configuration.

grunt.initConfig({
filenames: {
options: {
valid: /^[a-z]+\.js$/,
error: 'your file {filename} does not come close to passing {valid}'
},
src: ['tasks/*.js']
}
});