Browse Source

chore(nc-gui): lint

pull/7664/head
Ramesh Mane 9 months ago
parent
commit
b12e360409
  1. 1
      packages/nc-gui/.eslintignore
  2. 3
      packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue

1
packages/nc-gui/.eslintignore

@ -1 +0,0 @@
assets/js/typesense-docsearch.js

3
packages/nc-gui/components/smartsheet/calendar/WeekView/DateTimeField.vue

@ -458,6 +458,9 @@ const onResizeEnd = () => {
document.removeEventListener('mousemove', onResize) document.removeEventListener('mousemove', onResize)
document.removeEventListener('mouseup', onResizeEnd) 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) => { const onResizeStart = (direction: 'right' | 'left', event: MouseEvent, record: Row) => {
if (!isUIAllowed('dataEdit')) return if (!isUIAllowed('dataEdit')) return
resizeInProgress.value = true resizeInProgress.value = true

Loading…
Cancel
Save