Skip to content

Commit

Permalink
chore:clean up linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Dereje Dilnesaw committed Jun 12, 2024
1 parent 352dcb9 commit 0a28c98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ async function getAndApplyOffers() {
onDecoratedElement(() => {
window.adobe.target.applyOffers({ response });
// keeping track of offers that were already applied
// eslint-disable-next-line no-param-reassign
// eslint-disable-next-line no-return-assign
options.forEach((o) => o.content = o.content.filter((c) => !getElementForOffer(c)));
// keeping track of metrics that were already applied
// eslint-disable-next-line no-param-reassign
// eslint-disable-next-line no-confusing-arrow
metrics.map((m, i) => getElementForMetric(m) ? i : -1)
.filter((i) => i >= 0)
.reverse()
Expand Down

0 comments on commit 0a28c98

Please sign in to comment.