diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e45291f..862f4d8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: + registry-url: https://registry.npmjs.org node-version: 18 cache: 'pnpm' diff --git a/packages/preact/src/SelectionArea.tsx b/packages/preact/src/SelectionArea.tsx index bc9a844..31eb4bb 100644 --- a/packages/preact/src/SelectionArea.tsx +++ b/packages/preact/src/SelectionArea.tsx @@ -24,6 +24,7 @@ export const SelectionArea: FunctionalComponent = props => { const root = createRef(); useEffect(() => { + /* eslint-disable @typescript-eslint/no-unused-vars */ const {onBeforeStart, onBeforeDrag, onStart, onMove, onStop, ...opt} = props; const areaBoundaries = root.current as HTMLElement; diff --git a/packages/react/src/SelectionArea.tsx b/packages/react/src/SelectionArea.tsx index 39f5f85..9691dbe 100644 --- a/packages/react/src/SelectionArea.tsx +++ b/packages/react/src/SelectionArea.tsx @@ -22,6 +22,7 @@ export const SelectionArea: React.FunctionComponent = props const root = createRef(); useEffect(() => { + /* eslint-disable @typescript-eslint/no-unused-vars */ const {onBeforeStart, onBeforeDrag, onStart, onMove, onStop, ...opt} = props; const areaBoundaries = root.current as HTMLElement; diff --git a/packages/vue/src/SelectionArea.vue b/packages/vue/src/SelectionArea.vue index c89cdfa..402a4fc 100644 --- a/packages/vue/src/SelectionArea.vue +++ b/packages/vue/src/SelectionArea.vue @@ -5,7 +5,7 @@