Bug 1245649: Turn on no-irregular-whitespace and no-mixed-spaces-and-tabs. r=jaws

This commit is contained in:
Dave Townsend 2016-02-03 18:09:49 -08:00
parent f800a9c4ac
commit 672da226a5
131 changed files with 5593 additions and 5593 deletions

View File

@ -108,7 +108,7 @@ pageInfoTreeView.prototype = {
this,
this.data,
treecol.index,
function textComparator(a, b) { return (a || "").toLowerCase().localeCompare((b || "").toLowerCase()); },
function textComparator(a, b) { return (a || "").toLowerCase().localeCompare((b || "").toLowerCase()); },
this.sortcol,
this.sortdir
);

View File

@ -92,13 +92,13 @@
"no-invalid-regexp": 2,
// No odd whitespace characters
// "no-irregular-whitespace": 2,
"no-irregular-whitespace": 2,
// 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-mixed-spaces-and-tabs": [2, "smart-tabs"],
// No unnecessary spacing
// "no-multi-spaces": [2, { exceptions: { "AssignmentExpression": true, "VariableDeclarator": true, "ArrayExpression": true, "ObjectExpression": true } }],