lint: Ignore === for == null check in sort task

This commit is contained in:
Blade Barringer
2016-05-23 22:41:37 -05:00
parent 8faf73084a
commit 02d075e342

View File

@@ -21,7 +21,7 @@ module.exports = function sortTask (user, req = {}) {
if (index === -1) {
throw new NotFound(i18n.t('messageTaskNotFound', req.language));
}
if (to == null && fromParam == null) {
if (to == null && fromParam == null) { // eslint-disable-line eqeqeq
throw new BadRequest('?to=__&from=__ are required');
}