Use ESLint

This commit is contained in:
prototypa
2022-09-11 03:04:15 -04:00
parent 13dca5de5a
commit 252d6bf08b
21 changed files with 65 additions and 29 deletions

View File

@ -9,7 +9,7 @@ const attrs = partytown ? { type: "text/partytown" } : {};
<script is:inline define:vars={{ id }} {...attrs}>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
window.dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", id);