mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Update lint task to include the release script.
This commit is contained in:
parent
e8bdf46861
commit
3d9545ad27
13
build/.jshintrc
Normal file
13
build/.jshintrc
Normal file
@ -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" ) );
|
||||
|
2
grunt.js
2
grunt.js
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user