[Pkg-mozext-commits] [tabmixplus] 22/32: Update .eslintrc for Eslint 2, fix some errors that reveals by the new eslint
David Prévot
taffit at moszumanska.debian.org
Sun Feb 7 19:23:14 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 03b6e0a4e76246de535e3ffdafd582e00e716bca
Author: onemen <tabmix.onemen at gmail.com>
Date: Tue Jan 12 09:06:59 2016 +0200
Update .eslintrc for Eslint 2, fix some errors that reveals by the new eslint
---
.eslintrc | 32 ++++----------------------------
1 file changed, 4 insertions(+), 28 deletions(-)
diff --git a/.eslintrc b/.eslintrc
index 34b604b..7335963 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -187,14 +187,13 @@
"semi": 2,
"semi-spacing": [0, {"before": false, "after": true}],
"sort-vars": 0,
- "space-after-keywords": [2, "always"],
+ "keyword-spacing": 2,
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"object-curly-spacing": [2, "never"],
"array-bracket-spacing": [2, "never"],
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
- "space-return-throw-case": 2,
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"spaced-comment": [2, "always", {"exceptions":["-", "+", "/"], "markers":["/", "/XXX", "XXX", "****", "***", "**"]}],
"strict": [2, "global"],
@@ -209,6 +208,8 @@
"globals": {
// tabmix globals
+ // when extends will work in Brackets move each global to
+ // specific file in its folder
"$": true,
"self": true,
"AsyncUtils": false,
@@ -236,6 +237,7 @@
"syncPrefsList": false,
"tablib": false,
"Tabmix": true,
+ "TabmixAboutNewTab": false,
"TabmixAllTabs": false,
"TabmixClickEventHandler": true,
"TabmixContext": false,
@@ -259,32 +261,6 @@
"TMP_tabDNDObserver": false,
"TMP_TabView": false,
- // when extends will work move each global to
- // specific file in its folder
- "DeferredSave": true,
- "gTMPprefObserver": true,
- "gAppearancePane": true,
- "gMenuPane": true,
- "gPrefWindow": true,
- "getFormattedKey": true,
- "tablib": true,
- "TabmixAboutNewTab": false,
- "TabmixAllTabs": true,
- "TabmixTabClickOptions": true,
- "TabmixContext": true,
- "TabmixTabbar": true,
- "TMP_extensionsCompatibility": true,
- "TMP_LastTab": true,
- "TMP_tabDNDObserver": true,
- "TMP_TabView": true,
- "TMP_Places": true,
- "TMP_SessionStore": true,
- "TMP_ClosedTabs": true,
- "TabmixProgressListener": true,
- "TabmixSessionData": true,
- "TabmixSessionManager": true,
- "TabmixConvertSession": true,
-
// firefox globals
"__defineGetter__": false,
"aboutNewTabService": false,
--
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