[Pkg-mozext-commits] [tabmixplus] 34/147: Add missing Eslint rules to our .eslintrc.js file

David Prévot taffit at moszumanska.debian.org
Sat Aug 5 15:27:34 UTC 2017


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 0568f9895783d49d9c1a20f32f1a7b1a87ed50a2
Author: onemen <tabmix.onemen at gmail.com>
Date:   Mon Nov 14 14:44:35 2016 +0200

    Add missing Eslint rules to our .eslintrc.js file
---
 .eslintrc.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.eslintrc.js b/.eslintrc.js
index c3039b5..746f2f9 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -79,7 +79,9 @@ 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,
@@ -105,12 +107,14 @@ module.exports = {
     "no-restricted-properties": 0,
     "no-restricted-syntax": 0,
     "no-return-assign": [2, "except-parens"],
+    "no-return-await": 2,
     "no-script-url": 0,
     "no-self-assign": 2,
     "no-self-compare": 2,
     "no-sequences": 2,
     "no-shadow": [2, {"hoist": "all"}],
     "no-shadow-restricted-names": 2,
+    "no-spaced-func": 0,
     "no-sparse-arrays": 2,
     "no-sync": 0, // node
     "no-tabs": 0,

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