Skip to content

Commit dbf0e84

Browse files
committed
Demos: ignore script content warning from htmllint
1 parent fe2be53 commit dbf0e84

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Gruntfile.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,18 @@ grunt.initConfig({
205205
},
206206
uglify: minify,
207207
htmllint: {
208-
good: [ "demos/**/*.html", "tests/**/*.html" ].concat( htmllintBad.map( function( file ) {
208+
good: [ "tests/**/*.html" ].concat( htmllintBad.map( function( file ) {
209209
return "!" + file;
210210
} ) ),
211+
demos: {
212+
options: {
213+
ignore: [
214+
/The text content of element script was not in the required format: Expected space, tab, newline, or slash but found . instead/
215+
] },
216+
src: [ "demos/**/*.html" ].concat( htmllintBad.map( function( file ) {
217+
return "!" + file;
218+
} ) )
219+
},
211220
bad: {
212221
options: {
213222
ignore: [

0 commit comments

Comments
 (0)