From 03b374a1d846f16992cf610f327816eda64879d9 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Sun, 23 Aug 2020 13:35:55 -0700 Subject: [PATCH] Add eslint ignore. --- tracker/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tracker/index.js b/tracker/index.js index 8c27c8e2..60957d76 100644 --- a/tracker/index.js +++ b/tracker/index.js @@ -13,6 +13,7 @@ import { post, hook, doNotTrack } from '../lib/web'; const script = document.querySelector('script[data-website-id]'); + // eslint-disable-next-line no-undef if (!script || (__DNT__ && doNotTrack())) return; const website = script.getAttribute('data-website-id');