From f1b12ca744b1e1325e6e06f9f6c7908ca3c0460d Mon Sep 17 00:00:00 2001 From: vgoodric Date: Fri, 14 Jun 2024 12:44:33 -0600 Subject: [PATCH] move dangle lint disable to entire file --- libs/martech/martech.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/martech/martech.js b/libs/martech/martech.js index 6f892ace99..753290fb64 100644 --- a/libs/martech/martech.js +++ b/libs/martech/martech.js @@ -1,3 +1,4 @@ +/* eslint-disable no-underscore-dangle */ import { getConfig, getMetadata, loadIms, loadLink, loadScript } from '../utils/utils.js'; const ALLOY_SEND_EVENT = 'alloy_sendEvent'; @@ -220,7 +221,6 @@ const loadMartechFiles = async (config, url, edgeConfigId) => { const env = ['stage', 'local'].includes(config.env.name) ? '.qa' : ''; const martechPath = `martech.main.standard${env}.min.js`; await loadScript(`${config.miloLibs || config.codeRoot}/deps/${martechPath}`); - // eslint-disable-next-line no-underscore-dangle window._satellite.track('pageload'); }; @@ -252,7 +252,6 @@ export default async function init({ const manifests = preloadManifests({ targetManifests, persManifests }); await applyPers(manifests, postLCP); if (targetPropositions?.length && window._satellite) { - // eslint-disable-next-line no-underscore-dangle window._satellite.track('propositionDisplay', targetPropositions); } }