Permalink
Browse files

Update lint task to include the release script.

  • Loading branch information...
1 parent e8bdf46 commit 3d9545ad2719853a075a00646458dfc679074d72 @scottgonzalez scottgonzalez committed Oct 4, 2012
Showing with 16 additions and 2 deletions.
  1. +13 −0 build/.jshintrc
  2. +2 −1 build/release/release.js
  3. +1 −1 grunt.js
View
@@ -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
+}
@@ -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" ) );
View
@@ -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: {

0 comments on commit 3d9545a

Please sign in to comment.