Arlolra has uploaded a new change for review.

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

Change subject: [jshint] Cleanup current .jshintrc before adding new options
......................................................................

[jshint] Cleanup current .jshintrc before adding new options

 * Remove deprecated options: immed, multistr, newcap, noempty, nomen,
   regexp, smarttabs, and trailing.

 * `laxbreak` is left since there're a number of places where jshint
   would still complain about it until the next major release.

Change-Id: I6eac8126041416e92b1e85bf90ea1d43577cf7dd
---
M .jshintrc
1 file changed, 7 insertions(+), 26 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/72/255272/1

diff --git a/.jshintrc b/.jshintrc
index 9c0bcb4..5705568 100644
--- a/.jshintrc
+++ b/.jshintrc
@@ -1,37 +1,18 @@
 {
        "predef": [
-               "ve",
-
-               "setImmediate",
-
-               "QUnit",
-
                "Map",
-               "Set",
-               "Promise"
+               "Promise",
+               "Set"
        ],
-
        "bitwise": true,
-       "laxbreak": true,
        "curly": true,
        "eqeqeq": true,
-       "immed": true,
        "latedef": true,
-       "newcap": false,
+       "laxbreak": true,
+       "loopfunc": true,
        "noarg": true,
-       "noempty": true,
-       "nonew": true,
-       "regexp": false,
-       "undef": true,
-       "strict": true,
-       "trailing": true,
-
-       "smarttabs": true,
-       "multistr": true,
-
        "node": true,
-
-       "nomen": false,
-       "loopfunc": true
-       //"onevar": true
+       "nonew": true,
+       "strict": true,
+       "undef": true
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6eac8126041416e92b1e85bf90ea1d43577cf7dd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Arlolra <abrea...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to