jenkins-bot has submitted this change and it was merged.

Change subject: Make jsonlint ignore more node_modules
......................................................................


Make jsonlint ignore more node_modules

Right now jsonlint only ignores the top-level node_modules. If you've
built docs, there'll be a node_modules folder somewhere in there...
containing the highly-problematic jsonlint test suite. So, ignore all
node_modules directories no matter where they are.

Change-Id: Ie6f3b8c5749036dae60551d7f07c1ae6ab72d722
---
M Gruntfile.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jforrester: Looks good to me, but someone else must approve
  Esanders: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Gruntfile.js b/Gruntfile.js
index 14c88cb..cec332e 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -87,7 +87,7 @@
                jsonlint: {
                        all: [
                                '**/*.json',
-                               '!node_modules/**',
+                               '!**/node_modules/**',
                                '!lib/**'
                        ]
                },

-- 
To view, visit https://gerrit.wikimedia.org/r/249785
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie6f3b8c5749036dae60551d7f07c1ae6ab72d722
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: DLynch <[email protected]>
Gerrit-Reviewer: DLynch <[email protected]>
Gerrit-Reviewer: Esanders <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to