[Pkg-mozext-commits] [tabmixplus] 42/56: Add allowSingleLine to Eslint brace-style rule

David Prévot taffit at moszumanska.debian.org
Mon Jun 6 00:02:37 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 0224e99fa5fed72fbaa65310a310536d4cb37a31
Author: onemen <tabmix.onemen at gmail.com>
Date:   Tue May 17 21:20:36 2016 +0300

    Add allowSingleLine to Eslint brace-style rule
---
 .eslintrc.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.eslintrc.js b/.eslintrc.js
index 61478fb..bfe0d2c 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -154,7 +154,7 @@ module.exports = {
     "accessor-pairs": 2,
     "block-scoped-var": 2,
     "block-spacing": [2, "never"],
-    "brace-style": [2, "1tbs"],
+    "brace-style": [2, "1tbs", {"allowSingleLine": true}],
     // "callback-return": 0, // node
     "camelcase": 0,
     // TODO - maybe in the future

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