[Pkg-mozext-commits] [tabmixplus] 09/73: Enable Eslint rules: no-self-compare, semi-spacing and linebreak-style. No errors
David Prévot
taffit at moszumanska.debian.org
Mon May 9 02:30:50 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 3b8aa891af4638db69cbf6029ca0a7583196e552
Author: onemen <tabmix.onemen at gmail.com>
Date: Wed Mar 23 20:13:21 2016 +0200
Enable Eslint rules: no-self-compare, semi-spacing and linebreak-style. No errors
---
.eslintrc | 4 ++--
.eslintrc_mozilla | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/.eslintrc b/.eslintrc
index 805a545..6140171 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -118,7 +118,7 @@
"no-restricted-modules": 0, // node
"no-return-assign": [2, "except-parens"],
"no-script-url": 0,
- "no-self-compare": 0,
+ "no-self-compare": 2,
"no-sequences": 2,
"no-shadow": [2, {"hoist": "all"}],
"no-shadow-restricted-names": 2,
@@ -183,7 +183,7 @@
"quotes": [0, "double"],
"radix": 0,
"semi": 2,
- "semi-spacing": [0, {"before": false, "after": true}],
+ "semi-spacing": [2, {"before": false, "after": true}],
"sort-vars": 0,
"keyword-spacing": 2,
"space-before-blocks": [2, "always"],
diff --git a/.eslintrc_mozilla b/.eslintrc_mozilla
index f44a1d4..d46d225 100644
--- a/.eslintrc_mozilla
+++ b/.eslintrc_mozilla
@@ -2,6 +2,7 @@
"plugins": ["eslint-plugin-mozilla"],
"rules": {
- "mozilla/balanced-listeners": 2
+ "mozilla/balanced-listeners": 2,
+ "linebreak-style": [2, "windows"]
}
}
--
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