diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2014-07-17 10:25:59 -0700 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2014-07-17 10:25:59 -0700 |
commit | c869a1ef8a031342e817a2c063179a787ff57239 (patch) | |
tree | bf70e1683cc53d5d3793a8deb0aaafe2bd684513 /Gruntfile.js | |
parent | 8e3a0ceafa2c7c78902d0eab07d21b793deb5366 (diff) | |
download | jquery-c869a1ef8a031342e817a2c063179a787ff57239.tar.gz jquery-c869a1ef8a031342e817a2c063179a787ff57239.zip |
Build: update grunt-jscs-checker and pass with the new rules
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 1daa03a3d..8eff10144 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -19,7 +19,7 @@ module.exports = function( grunt ) { grunt.initConfig({ pkg: grunt.file.readJSON( "package.json" ), dst: readOptionalJSON( "dist/.destination.json" ), - compare_size: { + "compare_size": { files: [ "dist/jquery.js", "dist/jquery.min.js" ], options: { compress: { @@ -93,13 +93,31 @@ module.exports = function( grunt ) { src: "src/**/*.js", gruntfile: "Gruntfile.js", - // Right know, check only test helpers - test: [ "test/data/testrunner.js", "test/data/testinit.js" ], - release: "build/*.js", + // Right now, check only test helpers + test: [ "test/data/testrunner.js" ], + release: [ "build/*.js", "!build/release-notes.js" ], tasks: "build/tasks/*.js" }, testswarm: { - tests: "ajax attributes callbacks core css data deferred dimensions effects event manipulation offset queue selector serialize support traversing".split( " " ) + tests: [ + "ajax", + "attributes", + "callbacks", + "core", + "css", + "data", + "deferred", + "dimensions", + "effects", + "event", + "manipulation", + "offset", + "queue", + "selector", + "serialize", + "support", + "traversing" + ] }, watch: { files: [ "<%= jshint.all.src %>" ], @@ -116,13 +134,13 @@ module.exports = function( grunt ) { sourceMappingURL: "jquery.min.map", report: "min", beautify: { - ascii_only: true + "ascii_only": true }, banner: "/*! jQuery v<%= pkg.version %> | " + "(c) 2005, <%= grunt.template.today('yyyy') %> jQuery Foundation, Inc. | " + "jquery.org/license */", compress: { - hoist_funs: false, + "hoist_funs": false, loops: false, unused: false } |