From b12e360409b13ab8784818e14059c1563e079448 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Thu, 22 Feb 2024 16:17:43 +0000 Subject: [PATCH] chore(nc-gui): lint --- packages/nc-gui/.eslintignore | 1 - .../components/smartsheet/calendar/WeekView/DateTimeField.vue | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 packages/nc-gui/.eslintignore diff --git a/packages/nc-gui/.eslintignore b/packages/nc-gui/.eslintignore deleted file mode 100644 index 2fde9a5ce1..0000000000 --- a/packages/nc-gui/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -assets/js/typesense-docsearch.js \ No newline at end of file diff --git a/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue b/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue index 4628cca234..8e4fed8a27 100644 --- a/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue +++ b/packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue @@ -458,6 +458,9 @@ const onResizeEnd = () => { document.removeEventListener('mousemove', onResize) document.removeEventListener('mouseup', onResizeEnd) } + +// Todo: remove eslint-disable later +// eslint-disable-next-line @typescript-eslint/no-unused-vars const onResizeStart = (direction: 'right' | 'left', event: MouseEvent, record: Row) => { if (!isUIAllowed('dataEdit')) return resizeInProgress.value = true