JGirault has uploaded a new change for review.

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

Change subject: eslint: Re-enable wrap-iife and partially enable dot-notation
......................................................................

eslint: Re-enable wrap-iife and partially enable dot-notation

Change-Id: I2ec8cfe60a3d6d886dcb8d813bd2c05d947b840f
---
M .eslintrc.json
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mapdata refs/changes/39/321739/1

diff --git a/.eslintrc.json b/.eslintrc.json
index 0f73bdd..1a82843 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -8,8 +8,7 @@
     "require": false
   },
   "rules": {
-    "dot-notation": 0,
-    "indent": [ "error", 2, { "SwitchCase": 1, "VariableDeclarator": 2 } ],
-    "wrap-iife": 0
+    "dot-notation": [ "error", { "allowKeywords": true } ],
+    "indent": [ "error", 2, { "SwitchCase": 1, "VariableDeclarator": 2 } ]
   }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ec8cfe60a3d6d886dcb8d813bd2c05d947b840f
Gerrit-PatchSet: 1
Gerrit-Project: mapdata
Gerrit-Branch: master
Gerrit-Owner: JGirault <julien.inbox.w...@gmail.com>

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

Reply via email to