Bug 1378831 - Remove ESLint rules in that are duplicate of the global ones for satchel. r?MattN draft
authorMark Banner <standard8@mozilla.com>
Thu, 06 Jul 2017 16:42:06 +0100
changeset 604861 f5b5114bef33233e6cc0de7d689cd7fa12a8bb6a
parent 604727 018b3829d0a7f6944a5ae1489f3a64c9e2893909
child 636313 cee76be67eaad83b187deda53a215874123408dd
push id67211
push userbmo:standard8@mozilla.com
push dateThu, 06 Jul 2017 15:44:13 +0000
reviewersMattN
bugs1378831
milestone56.0a1
Bug 1378831 - Remove ESLint rules in that are duplicate of the global ones for satchel. r?MattN MozReview-Commit-ID: 8rffkhaX7r4
toolkit/components/satchel/.eslintrc.js
--- a/toolkit/components/satchel/.eslintrc.js
+++ b/toolkit/components/satchel/.eslintrc.js
@@ -4,17 +4,16 @@ module.exports = {
   rules: {
     "mozilla/balanced-listeners": "error",
     "mozilla/no-cpows-in-tests": "error",
     "mozilla/var-only-at-top-level": "error",
 
     "array-bracket-spacing": ["error", "never"],
     "block-scoped-var": "error",
     "comma-dangle": ["error", "always-multiline"],
-    "comma-style": "error",
     complexity: ["error", {
       max: 20,
     }],
     curly: ["error", "all"],
     "dot-location": ["error", "property"],
     "dot-notation": "error",
     "generator-star-spacing": ["error", "after"],
     indent: ["error", 2, {
@@ -40,17 +39,16 @@ module.exports = {
     "no-fallthrough": "error",
     "no-multi-str": "error",
     "no-multiple-empty-lines": ["error", {
       max: 2,
     }],
     "no-new-wrappers": "error",
     "no-proto": "error",
     "no-throw-literal": "error",
-    "no-unneeded-ternary": "error",
     "no-unused-expressions": "error",
     "no-unused-vars": ["error", {
       args: "none",
       varsIgnorePattern: "^(Cc|Ci|Cr|Cu|EXPORTED_SYMBOLS)$",
     }],
     "no-use-before-define": ["error", {
       functions: false,
     }],