diff --git a/lib/persisted-model.js b/lib/persisted-model.js index b63576c2..2d5080f6 100644 --- a/lib/persisted-model.js +++ b/lib/persisted-model.js @@ -1901,7 +1901,7 @@ module.exports = function(registry) { } next(); - }; + } function deleteHandler(ctx, next) { var change = createChangeObject(ctx, 'delete'); @@ -1910,7 +1910,7 @@ module.exports = function(registry) { } next(); - }; + } function createChangeObject(ctx, type) { var where = ctx.where; diff --git a/package.json b/package.json index 381908b4..d4b09be0 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "coveralls": "^3.0.2", "dirty-chai": "^1.2.2", "eslint": "^5.3.0", - "eslint-config-loopback": "^11.0.0", + "eslint-config-loopback": "^12.0.0", "eslint-plugin-mocha": "^5.1.0", "express-session": "^1.14.0", "grunt": "^1.0.1", diff --git a/test/acl.test.js b/test/acl.test.js index c803882a..78977869 100644 --- a/test/acl.test.js +++ b/test/acl.test.js @@ -642,7 +642,7 @@ describe('authorized roles propagation in RemotingContext', function() { }); }); return Promise.all(acls); - }; + } function makeAuthorizedHttpRequestOnMyTestModel() { return request.get('/MyTestModels') diff --git a/test/multiple-user-principal-types.test.js b/test/multiple-user-principal-types.test.js index c49de9eb..0ab93551 100644 --- a/test/multiple-user-principal-types.test.js +++ b/test/multiple-user-principal-types.test.js @@ -778,9 +778,9 @@ describe('Multiple users with custom principalType', function() { return new Promise(function(resolve, reject) { emitter.once(name, resolve); }); - }; + } function getIds(array) { return array.map(function(it) { return it.id; }); - }; + } }); diff --git a/test/user.test.js b/test/user.test.js index c5fe0b0d..b11d5c7c 100644 --- a/test/user.test.js +++ b/test/user.test.js @@ -2989,7 +2989,7 @@ describe('User', function() { expect(actualIds).to.eql(expectedIds); done(); }); - }; + } function assertNoAccessTokens(done) { AccessToken.find({where: {userId: user.pk}}, function(err, tokens) {