Add eslint ignore.
parent
0ba7676e97
commit
03b374a1d8
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue