[Pkg-mozext-commits] [tabmixplus] 22/34: Enable Eslint no-useless-rename

David Prévot taffit at moszumanska.debian.org
Mon Jun 27 13:57:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit eb5c15996b8df1eaf0f1d285dacf0e64cac6e35a
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sun Jun 19 16:47:27 2016 +0300

    Enable Eslint no-useless-rename
---
 .eslintrc.js             | 1 +
 modules/MergeWindows.jsm | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.eslintrc.js b/.eslintrc.js
index a160d84..00a405f 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -134,6 +134,7 @@ module.exports = {
     "no-useless-constructor": 2,
     "no-useless-computed-key": 2,
     "no-useless-escape": 2,
+    "no-useless-rename": 2,
     "no-void": 0,
     "no-var": 0,
     "no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
diff --git a/modules/MergeWindows.jsm b/modules/MergeWindows.jsm
index 3623c09..540fc67 100644
--- a/modules/MergeWindows.jsm
+++ b/modules/MergeWindows.jsm
@@ -41,7 +41,7 @@ this.MergeWindows = {
       tabsSelected: selectedTabs.length > 0,
       multiple: mergeAllWindows && !selectedTabs.length
     };
-    let {windows: windows, normalWindowsCount: normalWindowsCount} = this.getWindowsList(aWindow, options);
+    let {windows, normalWindowsCount} = this.getWindowsList(aWindow, options);
     if (!windows.length)
       this.notify(aWindow, options.privateNotMatch);
     else if (!normalWindowsCount && this.isPopupWindow(aWindow)) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list