diff options
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 3018702f5..c4acdb7fc 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -205,9 +205,18 @@ grunt.initConfig({ }, uglify: minify, htmllint: { - good: [ "demos/**/*.html", "tests/**/*.html" ].concat( htmllintBad.map( function( file ) { + good: [ "tests/**/*.html" ].concat( htmllintBad.map( function( file ) { return "!" + file; } ) ), + demos: { + options: { + ignore: [ + /The text content of element “script” was not in the required format: Expected space, tab, newline, or slash but found “.” instead/ + ] }, + src: [ "demos/**/*.html" ].concat( htmllintBad.map( function( file ) { + return "!" + file; + } ) ) + }, bad: { options: { ignore: [ |