mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Grunt: Ignore ajax content test files in htmllint task
This commit is contained in:
parent
4fd2befe94
commit
f319d07bb0
5
grunt.js
5
grunt.js
@ -149,7 +149,10 @@ grunt.initConfig({
|
||||
min: minify,
|
||||
cssmin: minifyCSS,
|
||||
htmllint: {
|
||||
all: ["demos/**/*.html", "tests/**/*.html"]
|
||||
// ignore files that contain invalid html, used only for ajax content testing
|
||||
all: grunt.file.expand( [ "demos/**/*.html", "tests/**/*.html" ] ).filter(function( file ) {
|
||||
return !/(?:ajax\/content\d\.html|tabs\/data\/test\.html)/.test( file );
|
||||
})
|
||||
},
|
||||
copy: {
|
||||
dist: {
|
||||
|
Loading…
Reference in New Issue
Block a user