diff --git a/ui/.eslintrc.js b/ui/.eslintrc.js index ff884680b..129dc7af7 100644 --- a/ui/.eslintrc.js +++ b/ui/.eslintrc.js @@ -6,6 +6,7 @@ module.exports = { "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/ban-types": "warn", "prettier/prettier": [2, { useTabs: true, endOfLine: "auto" }], + "no-console": "error", }, parser: "vue-eslint-parser", parserOptions: { diff --git a/ui/src/core_components/content/CoreDataframe.vue b/ui/src/core_components/content/CoreDataframe.vue index 0f8717f49..20b166751 100644 --- a/ui/src/core_components/content/CoreDataframe.vue +++ b/ui/src/core_components/content/CoreDataframe.vue @@ -400,6 +400,7 @@ async function loadData() { baseTable = aqTable; table.value = baseTable; } catch (e) { + // eslint-disable-next-line no-console console.error("Couldn't load dataframe from Arrow URL.", e); } } diff --git a/ui/src/core_components/embed/CorePDF.vue b/ui/src/core_components/embed/CorePDF.vue index 812dd1ad4..5d900bbee 100644 --- a/ui/src/core_components/embed/CorePDF.vue +++ b/ui/src/core_components/embed/CorePDF.vue @@ -1,26 +1,27 @@