diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2011-12-08 20:42:47 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2011-12-08 21:04:57 -0500 |
commit | 98386cfd775fdfa7837ccbec173b04f1e6d57896 (patch) | |
tree | 74783699ba88a0bf17bfb88e8b3e8141b7c868fe /Makefile | |
parent | d6500cc8ded8d3d02e19a3ab831b6b9cf43e82ae (diff) | |
download | jquery-98386cfd775fdfa7837ccbec173b04f1e6d57896.tar.gz jquery-98386cfd775fdfa7837ccbec173b04f1e6d57896.zip |
Fix #10692. JSLint is dead! Long live JSHint!
Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -46,7 +46,7 @@ DATE=$(shell git log -1 --pretty=format:%ad) all: update_submodules core -core: jquery min lint size +core: jquery min hint size @@echo "jQuery build complete." ${DIST_DIR}: @@ -67,12 +67,14 @@ ${SRC_DIR}/selector.js: ${SIZZLE_DIR}/sizzle.js @@echo "Building selector code from Sizzle" @@sed '/EXPOSE/r src/sizzle-jquery.js' ${SIZZLE_DIR}/sizzle.js | grep -v window.Sizzle > ${SRC_DIR}/selector.js -lint: jquery +lint: hint + +hint: jquery @@if test ! -z ${JS_ENGINE}; then \ - echo "Checking jQuery against JSLint..."; \ - ${JS_ENGINE} build/jslint-check.js; \ + echo "Checking jQuery against JSHint..."; \ + ${JS_ENGINE} build/jshint-check.js; \ else \ - echo "You must have NodeJS installed in order to test jQuery against JSLint."; \ + echo "You must have NodeJS installed in order to test jQuery against JSHint."; \ fi size: jquery min @@ -134,4 +136,4 @@ pull_submodules: pull: pull_submodules @@git pull ${REMOTE} ${BRANCH} -.PHONY: all jquery lint min clean distclean update_submodules pull_submodules pull core +.PHONY: all jquery lint hint min clean distclean update_submodules pull_submodules pull core |