diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-03 21:23:20 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-03 21:23:20 -0400 |
commit | 3d9545ad2719853a075a00646458dfc679074d72 (patch) | |
tree | 0ec1c8fcc526a8b44a28fce42e838e5f7ec92e28 | |
parent | e8bdf468614e59309b4a02ad4f6c29c1d06083c1 (diff) | |
download | jquery-ui-3d9545ad2719853a075a00646458dfc679074d72.tar.gz jquery-ui-3d9545ad2719853a075a00646458dfc679074d72.zip |
Update lint task to include the release script.
-rw-r--r-- | build/.jshintrc | 13 | ||||
-rw-r--r-- | build/release/release.js | 3 | ||||
-rw-r--r-- | grunt.js | 2 |
3 files changed, 16 insertions, 2 deletions
diff --git a/build/.jshintrc b/build/.jshintrc new file mode 100644 index 000000000..9e6abf31d --- /dev/null +++ b/build/.jshintrc @@ -0,0 +1,13 @@ +{ + "curly": true, + "eqnull": true, + "eqeqeq": true, + "expr": true, + "noarg": true, + "node": true, + "onevar": true, + "smarttabs": true, + "strict": false, + "trailing": true, + "undef": true +} diff --git a/build/release/release.js b/build/release/release.js index 9a0f9a9e7..0acd33256 100644 --- a/build/release/release.js +++ b/build/release/release.js @@ -1,4 +1,5 @@ #!/usr/bin/env node +/*global cat:true echo:true exec:true exit:true cd:true*/ var baseDir, repoDir, prevVersion, newVersion, nextVersion, tagTime, fs = require( "fs" ), @@ -250,7 +251,7 @@ function gatherContributors() { echo ( "Adding people thanked in commits..." ); contributors = contributors.concat( gitLog( "%b%n%s" ).filter(function( line ) { - return /thank/i.test( line ); + return (/thank/i).test( line ); })); fs.writeFileSync( contributorsPath, contributors.join( "\n" ) ); @@ -287,7 +287,7 @@ grunt.initConfig({ // TODO remove items from this list once rewritten return !( /(mouse|datepicker|draggable|droppable|resizable|selectable|sortable)\.js$/ ).test( file ); }), - grunt: [ "grunt.js", "build/tasks/*.js" ], + grunt: [ "grunt.js", "build/**/*.js" ], tests: "tests/unit/**/*.js" }, csslint: { |