GWicke has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/49944


Change subject: Tell JSHint to ignore dots and bare braces in regexps
......................................................................

Tell JSHint to ignore dots and bare braces in regexps

Those are valid patterns when used properly. The resulting warnings hid actual
issues at least in the WikitextSerializer.

Change-Id: I5e6519a7e5e7254a43bd05d22d91b12a98fe3f34
---
M .jshintrc
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid 
refs/changes/44/49944/1

diff --git a/.jshintrc b/.jshintrc
index 7b0466d..9e6e612 100644
--- a/.jshintrc
+++ b/.jshintrc
@@ -14,7 +14,7 @@
        "noarg": true,
        "noempty": true,
        "nonew": true,
-       "regexp": true,
+       "regexp": false,
        "undef": true,
        "strict": false,
        "trailing": true,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e6519a7e5e7254a43bd05d22d91b12a98fe3f34
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>

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

Reply via email to