diff --git a/.eslintrc b/.eslintrc index 46d3f5e1f..227df488c 100644 --- a/.eslintrc +++ b/.eslintrc @@ -19,6 +19,7 @@ "plugin:import/warnings", "plugin:import/typescript" ], + "globals": { "googletag": "readonly" }, "rules": { "import/no-default-export": 2, "import/prefer-default-export": 0, diff --git a/src/types.ts b/src/types.ts index 3fd6d94ea..c82194a36 100644 --- a/src/types.ts +++ b/src/types.ts @@ -22,7 +22,6 @@ export type ThirdPartyTag = { declare global { interface Window { _brandmetrics?: { cmd: string; val: Record }[]; - // eslint-disable-next-line no-undef googletag: googletag.Googletag; } }