chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)

* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: #6599, linting 😬
This commit is contained in:
renovate[bot]
2018-11-07 15:53:14 -05:00
committed by Julian Lam
parent eb0a322d7f
commit 64b9dabff8
109 changed files with 287 additions and 309 deletions

View File

@@ -1,7 +1,7 @@
'use strict';
var pubsub = require('../pubsub');
var LRU = require('lru-cache');
var pubsub = require('../pubsub');
var cache = LRU({
max: 40000,

View File

@@ -77,9 +77,9 @@ module.exports = function (Groups) {
};
function isSystemGroup(data) {
return data.system === true || parseInt(data.system, 10) === 1 ||
data.name === 'administrators' || data.name === 'registered-users' || data.name === 'Global Moderators' ||
Groups.isPrivilegeGroup(data.name);
return data.system === true || parseInt(data.system, 10) === 1
|| data.name === 'administrators' || data.name === 'registered-users' || data.name === 'Global Moderators'
|| Groups.isPrivilegeGroup(data.name);
}
function validateGroupName(name, callback) {