[Pkg-mozext-commits] [tabmixplus] 29/73: Enable Eslint 'block-spacing'

David Prévot taffit at moszumanska.debian.org
Mon May 9 02:30:52 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 78d802d4ca91b92c96ef8fd70f043c55799f27d7
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sun Apr 3 16:57:41 2016 +0300

    Enable Eslint 'block-spacing'
---
 .eslintrc.js             | 2 +-
 modules/ContentClick.jsm | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/.eslintrc.js b/.eslintrc.js
index d323606..83057a5 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -146,7 +146,7 @@ module.exports = {
     "arrow-spacing": [2, {"before": true, "after": true}],
     "accessor-pairs": 2,
     "block-scoped-var": 2,
-    "block-spacing": 0,
+    "block-spacing": [2, "never"],
     "brace-style": [2, "1tbs"],
     // "callback-return": 0, // node
     "camelcase": 0,
diff --git a/modules/ContentClick.jsm b/modules/ContentClick.jsm
index df2556b..eeedba3 100644
--- a/modules/ContentClick.jsm
+++ b/modules/ContentClick.jsm
@@ -129,7 +129,9 @@ ContentClickInternal = {
       try {
         if (!PrivateBrowsingUtils.isWindowPrivate(window))
           PlacesUIUtils.markPageAsFollowedLink(json.href);
-      } catch (ex) { /* Skip invalid URIs. */ }
+      } catch (ex) {
+        /* Skip invalid URIs. */
+      }
     };
   },
 

-- 
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