Fix eslint rules (#5117)

* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
This commit is contained in:
Sergii Paryzhskyi
2016-10-25 21:34:47 +02:00
committed by Julian Lam
parent 727710fbd9
commit e515b791da
53 changed files with 132 additions and 139 deletions

View File

@@ -81,7 +81,7 @@ describe('authentication', function () {
}, function (err, response, body) {
assert.ifError(err);
assert.equal(body, 'not-authorized');
done()
done();
});
});
});
@@ -119,7 +119,7 @@ describe('authentication', function () {
assert(body);
assert.equal(body.username, 'regular');
assert.equal(body.email, 'regular@nodebb.org');
done()
done();
});
});
});