diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-04-04 10:52:41 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-04-04 11:02:08 +0200 |
commit | 79f1eea6dc874accae3447891783566337e97736 (patch) | |
tree | 7b198bbf9c56e0226bfd18c67f49c874437f15a9 /grunt.js | |
parent | a5051924207365297ec7665df875cfefc39dc858 (diff) | |
download | jquery-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.js | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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" }, |