[Pkg-mozext-commits] [tabmixplus] 28/73: Enable Eslint 'no-floating-decimal'
David Prévot
taffit at moszumanska.debian.org
Mon May 9 02:30:52 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 ce395b46e84aea6d3adf8b29bccb76fb627de2cf
Author: onemen <tabmix.onemen at gmail.com>
Date: Sun Apr 3 16:56:29 2016 +0300
Enable Eslint 'no-floating-decimal'
---
.eslintrc.js | 2 +-
chrome/content/preferences/subdialogs/pref-appearance.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.eslintrc.js b/.eslintrc.js
index b069663..d323606 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -55,7 +55,7 @@ module.exports = {
"no-extra-parens": [2, "functions"], // TODO need to fix this for [2, "all"]
"no-extra-semi": 2,
"no-fallthrough": 2,
- "no-floating-decimal": 0,
+ "no-floating-decimal": 2,
"no-func-assign": 2,
"no-implicit-coercion": 2,
"no-implicit-globals": 0,
diff --git a/chrome/content/preferences/subdialogs/pref-appearance.xml b/chrome/content/preferences/subdialogs/pref-appearance.xml
index cab4eaf..2b15f26 100644
--- a/chrome/content/preferences/subdialogs/pref-appearance.xml
+++ b/chrome/content/preferences/subdialogs/pref-appearance.xml
@@ -252,7 +252,7 @@
var rgba = this.rgba;
if (format) {
rgba[3] = this.getAttribute("disabled") ? 0.2 :
- Math.max(.2, rgba[3]);
+ Math.max(0.2, rgba[3]);
}
return "rgba(#1)".replace("#1", rgba.join(","));
]]></body>
--
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