[Pkg-mozext-commits] [tabmixplus] 09/23: Update Eslint configuration file to match version 3.4.0

David Prévot taffit at moszumanska.debian.org
Fri Sep 23 03:31:03 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 e6097ab89327ff3cf07d8ee73afa1314b34da8ee
Author: onemen <tabmix.onemen at gmail.com>
Date:   Thu Sep 1 07:59:47 2016 +0300

    Update Eslint configuration file to match version 3.4.0
---
 .eslintrc.js | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.eslintrc.js b/.eslintrc.js
index 2024430..2ed01bc 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -20,6 +20,7 @@ module.exports = {
     "no-array-constructor": 2,
     "no-bitwise": 0,
     "no-caller": 2,
+    "func-call-spacing": 2,
     "no-case-declarations": 2,
     "no-catch-shadow": 2,
     "no-class-assign": 2,
@@ -56,6 +57,7 @@ module.exports = {
     "no-fallthrough": 2,
     "no-floating-decimal": 2,
     "no-func-assign": 2,
+    "no-global-assign": 2,
     "no-implicit-coercion": 2,
     "no-implicit-globals": 0,
     "no-implied-eval": 2,
@@ -77,9 +79,7 @@ module.exports = {
     // TODO need to fix this...
     "no-multi-str": 0,
     "no-multiple-empty-lines": [2, {"max": 1}],
-    "no-native-reassign": 2,
     "no-negated-condition": 0,
-    "no-negated-in-lhs": 2,
     "no-nested-ternary": 0,
     "no-new": 2,
     "no-new-func": 2,
@@ -111,9 +111,10 @@ module.exports = {
     "no-shadow": [2, {"hoist": "all"}],
     "no-shadow-restricted-names": 2,
     "no-whitespace-before-property": 2,
-    "no-spaced-func": 2,
     "no-sparse-arrays": 2,
     "no-sync": 0, // node
+    "no-tabs": 0,
+    "no-template-curly-in-string": 2,
     "no-ternary": 0,
     "no-trailing-spaces": 2,
     "no-this-before-super": 2,
@@ -127,6 +128,7 @@ module.exports = {
     "no-unneeded-ternary": 2,
     "no-unreachable": 2,
     "no-unsafe-finally": 2,
+    "no-unsafe-negation": 2,
     "no-unused-expressions": 2,
     "no-unused-labels": 2,
     "no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
@@ -170,6 +172,7 @@ module.exports = {
     "dot-notation": [2, { "allowKeywords": true }],
     "eol-last": 2,
     "eqeqeq": 0,
+    "func-call-spacing": [2, "never"],
     "func-names": 0,
     "func-style": [0, "declaration"],
     "generator-star-spacing": [2, "after"],

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