Bug 1488263 - Follow-up: fix linting problems. r=alta88 DONTBUILD
authorJorg K <jorgk@jorgk.com>
Tue, 04 Sep 2018 01:08:24 +0200
changeset 32977 40d5e3c09200ccc610c0a4ea5c22a8a0f5e9e4d5
parent 32976 35b4619745680791f5f13f43dd446166270ff30c
child 32978 50c8a5f191325081227b40813e0cd20e08c73fac
push id386
push userclokep@gmail.com
push dateTue, 23 Oct 2018 00:48:12 +0000
reviewersalta88
bugs1488263
Bug 1488263 - Follow-up: fix linting problems. r=alta88 DONTBUILD
.eslintignore
mailnews/.eslintrc.js
--- a/.eslintignore
+++ b/.eslintignore
@@ -22,16 +22,17 @@ testing/**
 build/**
 chat/**
 editor/**
 im/**
 ldap/**
 suite/**
 
 # mailnews exclusions
+mailnews/mailnews.js
 mailnews/addrbook/*
 mailnews/base/*
 mailnews/build/*
 mailnews/compose/*
 mailnews/db/*
 mailnews/imap/*
 mailnews/import/*
 mailnews/intl/*
--- a/mailnews/.eslintrc.js
+++ b/mailnews/.eslintrc.js
@@ -1,11 +1,11 @@
 "use strict";
 
-module.exports = {
+module.exports = { // eslint-disable-line no-undef
   "globals": {
     "Log4Moz": true,
     "MailServices": true,
     "MsgHdrToMimeMessage": true,
     "ReloadMessage": true,
     "Services": true,
     "gDBView": true,
     "getBrowser": true,
@@ -28,10 +28,9 @@ module.exports = {
         "object": "Object",
         "function": "Function",
         "map": "Map",
         "set": "Set",
         "date": "Date",
       },
     }],
   },
-
 };