From 0eb45a549b7d08fe03d94fc6ec0298fea3164935 Mon Sep 17 00:00:00 2001 From: ido Date: Wed, 30 Dec 2015 15:33:02 +0200 Subject: [PATCH] remove eslint ignores --- src/reactTemplates.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reactTemplates.js b/src/reactTemplates.js index fea65f4..1a2503f 100644 --- a/src/reactTemplates.js +++ b/src/reactTemplates.js @@ -415,7 +415,7 @@ function handleScopeAttribute(node, context, data) { data.innerScope.outerMapping = _.zipObject(context.boundParams, context.boundParams); - _(node.attribs[scopeAttr]).split(';').invoke('trim').compact().forEach(scopePart => { //eslint-disable-line lodash3/collection-return + _(node.attribs[scopeAttr]).split(';').invoke('trim').compact().forEach(scopePart => { var scopeSubParts = _(scopePart).split(' as ').invoke('trim').value(); if (scopeSubParts.length < 2) { throw RTCodeError.build(context, node, `invalid scope part '${scopePart}'`); @@ -506,7 +506,7 @@ function convertRT(html, reportContext, options) { throw new RTCodeError('Document should have a root element'); } var firstTag = null; - _.forEach(rootTags, function (tag) { //eslint-disable-line lodash3/collection-return + _.forEach(rootTags, function (tag) { if (tag.name === 'rt-require') { if (!tag.attribs.dependency || !tag.attribs.as) { throw RTCodeError.build(context, tag, "rt-require needs 'dependency' and 'as' attributes");