aboutsummaryrefslogtreecommitdiffstats
path: root/grunt.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-04-04 10:52:41 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-04-04 11:02:08 +0200
commit79f1eea6dc874accae3447891783566337e97736 (patch)
tree7b198bbf9c56e0226bfd18c67f49c874437f15a9 /grunt.js
parenta5051924207365297ec7665df875cfefc39dc858 (diff)
downloadjquery-ui-79f1eea6dc874accae3447891783566337e97736.tar.gz
jquery-ui-79f1eea6dc874accae3447891783566337e97736.zip
Build: Filter filters for linting to exclude some to-be-rewritten ones. Fix lint in those remaining
Diffstat (limited to 'grunt.js')
-rw-r--r--grunt.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/grunt.js b/grunt.js
index 74713be5d..3d861be85 100644
--- a/grunt.js
+++ b/grunt.js
@@ -261,11 +261,14 @@ grunt.initConfig({
files: grunt.file.expandFiles( "tests/unit/**/*.html" ).filter(function( file ) {
// disabling everything that doesn't (quite) work with PhantomJS for now
// except for all|index|test, try to include more as we go
- return !( /(all|index|test|draggable|droppable|selectable|resizable|sortable|dialog|slider|datepicker|tabs|tabs_deprecated)\.html/ ).test( file );
+ return !( /(all|all-active|index|test|draggable|droppable|selectable|resizable|sortable|dialog|slider|datepicker|tabs|tabs_deprecated)\.html/ ).test( file );
})
},
lint: {
- ui: "ui/*",
+ ui: grunt.file.expandFiles( "ui/*.js" ).filter(function( file ) {
+ // remove items from this list once rewritten
+ return !( /(effects.core|mouse|datepicker|draggable|droppable|resizable|selectable|sortable)\.js$/ ).test( file );
+ }),
grunt: "grunt.js",
tests: "tests/unit/**/*.js"
},