Skip to content

Node.js based forum software built for the modern web

fix eslint errors

barisusakli4a8b3dcd4c6d
diff --git a/.eslintrc.json b/.eslintrc.json
index ccbf4944a3..c16b47f396 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -4,6 +4,8 @@
"rules": {
"handle-callback-err": [ "error","^(e$|(e|(.*(_e|E)))rr)" ],
"linebreak-style": "off",
+ "import/no-unresolved": "off",
+ "import/no-extraneous-dependencies": "off",
"one-var": "off",
"no-undef": "off",
"max-len": "off",
diff --git a/test/authentication.js b/test/authentication.js
index c5d6e77586..aeedad1cbf 100644
--- a/test/authentication.js
+++ b/test/authentication.js
@@ -11,13 +11,13 @@ var db = require('./mocks/databasemock');
describe('authentication', function () {
var jar = request.jar();
- before(function(done) {
+ before(function (done) {
request({
url: nconf.get('url') + '/api/config',
json: true,
jar: jar
}, function (err, response, body) {
- console.log('lel', body);
+ assert.ifError(err);
done();
});
});