Add eslint ignore.

This commit is contained in:
Mike Cao 2020-08-23 13:35:55 -07:00
parent 0ba7676e97
commit 03b374a1d8

View File

@ -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');