Skip to content

Commit

Permalink
move dangle lint disable to entire file
Browse files Browse the repository at this point in the history
  • Loading branch information
vgoodric committed Jun 14, 2024
1 parent 40d1ced commit f1b12ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/martech/martech.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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');
};

Expand Down Expand Up @@ -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);
}
}
Expand Down

0 comments on commit f1b12ca

Please sign in to comment.