Bug 1579200 - Remove "eslint-disable key-spacing" lines from xmpp-xml.jsm. r=clokep
authorPaul Morris <paul@thunderbird.net>
Thu, 05 Sep 2019 15:44:55 -0400
changeset 36740 fd7e845b822beff9d620b6b852c2c10695ba85cc
parent 36739 43c9a3284dfb94c0d92933469588bd2170d4938c
child 36741 5c976fb4de886d73b0c5f68f9785e4c513f4166f
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersclokep
bugs1579200
Bug 1579200 - Remove "eslint-disable key-spacing" lines from xmpp-xml.jsm. r=clokep These lines are no longer needed now that we are letting Prettier handle formatting.
chat/protocols/xmpp/xmpp-xml.jsm
--- a/chat/protocols/xmpp/xmpp-xml.jsm
+++ b/chat/protocols/xmpp/xmpp-xml.jsm
@@ -1,15 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 this.EXPORTED_SYMBOLS = ["Stanza", "XMPPParser", "SupportedFeatures"];
 
-/* eslint-disable key-spacing */
 var NS = {
   xml: "http://www.w3.org/XML/1998/namespace",
   xhtml: "http://www.w3.org/1999/xhtml",
   xhtml_im: "http://jabber.org/protocol/xhtml-im",
 
   // auth
   client: "jabber:client",
   streams: "http://etherx.jabber.org/streams",
@@ -88,17 +87,16 @@ var TOP_LEVEL_ELEMENTS = {
   failure: [
     "urn:ietf:params:xml:ns:xmpp-tls",
     "urn:ietf:params:xml:ns:xmpp-sasl",
   ],
   success: "urn:ietf:params:xml:ns:xmpp-sasl",
   challenge: "urn:ietf:params:xml:ns:xmpp-sasl",
   error: "urn:ietf:params:xml:ns:xmpp-streams",
 };
-/* eslint-enable key-spacing */
 
 // Features that we support in XMPP.
 // Don't forget to add your new features here.
 var SupportedFeatures = [
   NS.chatstates,
   NS.conference,
   NS.disco_info,
   NS.last,