check for use of kebab-case as well

Fixes #5597
This commit is contained in:
spalger 2015-12-08 11:24:42 -07:00 committed by Khalah Jones
parent c98ded1c2b
commit 88bb904dd5

View file

@ -4,7 +4,7 @@ export default function (grunt) {
const invalid = grunt.config
.get('stagedFiles')
.filter(name => name.match(/[A-Z ]/))
.filter(name => name.match(/[A-Z \-]/))
.reduce((all, name) => `${all} ${name}\n`, '');
if (invalid) {