From c9ad4f2e2e813ab8f8d623d1fbd05de076766906 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sun, 27 Oct 2024 17:34:33 +0800 Subject: style: standardjs --- addon/index.mjs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addon/index.mjs') diff --git a/addon/index.mjs b/addon/index.mjs index 70d23c4..cd3a15e 100644 --- a/addon/index.mjs +++ b/addon/index.mjs @@ -1,3 +1,5 @@ +/* global browser */ +/* eslint-disable-next-line no-console */ console.log('content script loaded') const url = new URL(window.location) @@ -34,6 +36,7 @@ const simpleRender = window.mapclay.renderWith(config => ({ })) browser.runtime.onMessage.addListener((message, sender, sendResponse) => { + /* eslint-disable-next-line no-console */ console.log('receive message', message) sendResponse('received') if (message === 'map-inline-add') { -- cgit v1.2.3-70-g09d2