From bd21861bbb5c8450c0a004ec6815717d4378a9f5 Mon Sep 17 00:00:00 2001 From: techfg Date: Mon, 29 Apr 2024 21:19:40 -0700 Subject: [PATCH] fix: remove console.log statement & update eslint config (Resolves #420) --- .eslintrc.json | 3 ++- src/core.js | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index e745b96..bf84730 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -24,7 +24,8 @@ "one-var": ["error", { "var": "consecutive" }], "strict": ["error", "function"], "no-nested-ternary": 0, - "camelcase": 0 + "camelcase": 0, + "no-console": ["error", { "allow": ["warn", "error"] }] }, "settings": { "html/indent": "+2", diff --git a/src/core.js b/src/core.js index 7ca44d8..9454719 100644 --- a/src/core.js +++ b/src/core.js @@ -1106,6 +1106,5 @@ }; return me; })(); - console.log('foo3456'); $.mapster.impl.init(); })(jQuery);