[MediaWiki-commits] [Gerrit] Update Gruntfile.js - change (mediawiki...Popups)
jenkins-bot has submitted this change and it was merged. Change subject: Update Gruntfile.js .. Update Gruntfile.js Target all JS files, not just the ones in resources. Change-Id: I036360365ebbd5e5654b5a74694e2656e63e56e6 --- A .jshintignore M Gruntfile.js 2 files changed, 9 insertions(+), 4 deletions(-) Approvals: Prtksxna: Looks good to me, approved jenkins-bot: Verified diff --git a/.jshintignore b/.jshintignore new file mode 100644 index 000..3c3629e --- /dev/null +++ b/.jshintignore @@ -0,0 +1 @@ +node_modules diff --git a/Gruntfile.js b/Gruntfile.js index 2b95ad9..3550c1c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -9,14 +9,18 @@ banana: { all: 'i18n/' }, - jscs: { - src: 'resources/*.js' - }, jshint: { options: { jshintrc: true }, - all: [ 'resources/*.js' ] + all: [ + '*.js', + '**/*.js', + '!node_modules/**' + ] + }, + jscs: { + src: '<%= jshint.all %>' }, jsonlint: { all: [ -- To view, visit https://gerrit.wikimedia.org/r/248693 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I036360365ebbd5e5654b5a74694e2656e63e56e6 Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/Popups Gerrit-Branch: master Gerrit-Owner: PaladoxGerrit-Reviewer: Hashar Gerrit-Reviewer: Jforrester Gerrit-Reviewer: Prtksxna Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Update gruntfile.js - change (mediawiki...Popups)
Paladox has uploaded a new change for review. https://gerrit.wikimedia.org/r/248693 Change subject: Update gruntfile.js .. Update gruntfile.js Change-Id: I036360365ebbd5e5654b5a74694e2656e63e56e6 --- A .jshintignore M Gruntfile.js 2 files changed, 12 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Popups refs/changes/93/248693/1 diff --git a/.jshintignore b/.jshintignore new file mode 100644 index 000..099f69c --- /dev/null +++ b/.jshintignore @@ -0,0 +1,4 @@ +node_modules +vendor + +js/overthrow.js diff --git a/Gruntfile.js b/Gruntfile.js index 2b95ad9..3550c1c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -9,14 +9,18 @@ banana: { all: 'i18n/' }, - jscs: { - src: 'resources/*.js' - }, jshint: { options: { jshintrc: true }, - all: [ 'resources/*.js' ] + all: [ + '*.js', + '**/*.js', + '!node_modules/**' + ] + }, + jscs: { + src: '<%= jshint.all %>' }, jsonlint: { all: [ -- To view, visit https://gerrit.wikimedia.org/r/248693 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I036360365ebbd5e5654b5a74694e2656e63e56e6 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Popups Gerrit-Branch: master Gerrit-Owner: Paladox___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits