Bug 1235023 - Relax no-multi-spaces Eslint rule with ObjectExpression.r=Mossop
--- a/toolkit/.eslintrc
+++ b/toolkit/.eslintrc
@@ -96,17 +96,17 @@
// No single if block inside an else block
// "no-lonely-if": 2,
// No mixing spaces and tabs in indent
// "no-mixed-spaces-and-tabs": [2, "smart-tabs"],
// No unnecessary spacing
- // "no-multi-spaces": [2, { exceptions: { "AssignmentExpression": true, "VariableDeclarator": true, "ArrayExpression": true } }],
+ // "no-multi-spaces": [2, { exceptions: { "AssignmentExpression": true, "VariableDeclarator": true, "ArrayExpression": true, "ObjectExpression": true } }],
// No reassigning native JS objects
// "no-native-reassign": 2,
// No (!foo in bar)
// "no-negated-in-lhs": 2,
// Nested ternary statements are confusing