lint: Check eslint indentation for casper tests.

Now we just limit this rule for the node tests themselves.
This commit is contained in:
Tim Abbott 2018-05-06 16:50:14 -07:00
parent d3f8208715
commit ed299feb00
5 changed files with 26 additions and 21 deletions

View File

@ -14,7 +14,6 @@
},
"rules": {
"no-sync": 0,
"indent": 0,
"prefer-const": "error"
}
}

View File

@ -0,0 +1,5 @@
{
"rules": {
"indent": 0
}
}

View File

@ -31,7 +31,8 @@ let _markdownComparerInstance = null;
class MarkdownComparer {
constructor(output_formatter) {
this._output_formatter = output_formatter || function (actual, expected) {
return ["Actual and expected output do not match.",
return [
"Actual and expected output do not match.",
actual,
"!=",
expected,