fix linting for server (except for length of apidoc)

This commit is contained in:
Matteo Pagliazzi
2019-10-10 20:11:50 +02:00
parent bcf7bcf03c
commit 8bae0223bb
84 changed files with 913 additions and 469 deletions

View File

@@ -1,6 +1,6 @@
import { last } from 'lodash';
import shared from '../../../common';
import { model as User } from '../../models/user';
import { model as User } from '../../models/user'; // eslint-disable-line import/no-cycle
// Build a list of gear items owned by default
const defaultOwnedGear = {};
@@ -54,6 +54,8 @@ export function validateItemPath (itemPath) {
if (itemPath.indexOf('items.quests') === 0) {
return Boolean(shared.content.quests[key]);
}
return false;
}
// When passed a value of an item in the user object it'll convert the