From 2010d84c361e15801a0d91ea8dcd9b270080322b Mon Sep 17 00:00:00 2001 From: "Rochmar Nicolas (DevExpress)" Date: Tue, 30 Jul 2024 12:46:10 +0800 Subject: [PATCH] Disable spellcheck lint --- packages/devextreme/js/__internal/events/core/m_events_engine.ts | 1 + packages/devextreme/js/__internal/events/pointer/m_mouse.ts | 1 + .../devextreme/js/__internal/events/pointer/m_mouse_and_touch.ts | 1 + packages/devextreme/js/__internal/events/pointer/m_observer.ts | 1 + packages/devextreme/js/__internal/events/pointer/m_touch.ts | 1 + 5 files changed, 5 insertions(+) diff --git a/packages/devextreme/js/__internal/events/core/m_events_engine.ts b/packages/devextreme/js/__internal/events/core/m_events_engine.ts index 60bd5b63f185..66f6a4cd8a59 100644 --- a/packages/devextreme/js/__internal/events/core/m_events_engine.ts +++ b/packages/devextreme/js/__internal/events/core/m_events_engine.ts @@ -14,6 +14,7 @@ import { getEventTarget } from '@js/events/utils/event_target'; const window = getWindow(); +/* eslint-disable spellcheck/spell-checker */ const EMPTY_EVENT_NAME = 'dxEmptyEventType'; const NATIVE_EVENTS_TO_SUBSCRIBE = { mouseenter: 'mouseover', diff --git a/packages/devextreme/js/__internal/events/pointer/m_mouse.ts b/packages/devextreme/js/__internal/events/pointer/m_mouse.ts index 684565235644..37d8e05c96dd 100644 --- a/packages/devextreme/js/__internal/events/pointer/m_mouse.ts +++ b/packages/devextreme/js/__internal/events/pointer/m_mouse.ts @@ -2,6 +2,7 @@ import { extend } from '@js/core/utils/extend'; import BaseStrategy from '@js/events/pointer/base'; import Observer from '@js/events/pointer/observer'; +/* eslint-disable spellcheck/spell-checker */ const eventMap = { dxpointerdown: 'mousedown', dxpointermove: 'mousemove', diff --git a/packages/devextreme/js/__internal/events/pointer/m_mouse_and_touch.ts b/packages/devextreme/js/__internal/events/pointer/m_mouse_and_touch.ts index f7dea7dc03e5..ad739214255b 100644 --- a/packages/devextreme/js/__internal/events/pointer/m_mouse_and_touch.ts +++ b/packages/devextreme/js/__internal/events/pointer/m_mouse_and_touch.ts @@ -4,6 +4,7 @@ import MouseStrategy from '@js/events/pointer/mouse'; import TouchStrategy from '@js/events/pointer/touch'; import { isMouseEvent } from '@js/events/utils/index'; +/* eslint-disable spellcheck/spell-checker */ const eventMap = { dxpointerdown: 'touchstart mousedown', dxpointermove: 'touchmove mousemove', diff --git a/packages/devextreme/js/__internal/events/pointer/m_observer.ts b/packages/devextreme/js/__internal/events/pointer/m_observer.ts index 25d8d86d7ef1..1a50a5f8f5cd 100644 --- a/packages/devextreme/js/__internal/events/pointer/m_observer.ts +++ b/packages/devextreme/js/__internal/events/pointer/m_observer.ts @@ -51,6 +51,7 @@ const Observer = function (eventMap, pointerEquals, onPointerAdding) { pointers[getPointerIndex(e)] = e; }; + /* eslint-disable spellcheck/spell-checker */ addEventsListener(eventMap.dxpointerdown, addPointer); addEventsListener(eventMap.dxpointermove, updatePointer); addEventsListener(eventMap.dxpointerup, removePointer); diff --git a/packages/devextreme/js/__internal/events/pointer/m_touch.ts b/packages/devextreme/js/__internal/events/pointer/m_touch.ts index cd4117fbd778..102f75060d26 100644 --- a/packages/devextreme/js/__internal/events/pointer/m_touch.ts +++ b/packages/devextreme/js/__internal/events/pointer/m_touch.ts @@ -3,6 +3,7 @@ import { extend } from '@js/core/utils/extend'; import { each } from '@js/core/utils/iterator'; import BaseStrategy from '@js/events/pointer/base'; +/* eslint-disable spellcheck/spell-checker */ const eventMap = { dxpointerdown: 'touchstart', dxpointermove: 'touchmove',