Add eslint ignore.
This commit is contained in:
1 parent
0ba7676e97
commit
03b374a1d8
1 file changed
+1
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user