Bug 1378831 - Remove ESLint rules in that are duplicate of the global ones for satchel. r?MattN
MozReview-Commit-ID: 8rffkhaX7r4
--- 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,
}],