Chore: eslint forbid useHotkeys (#1777)

- add eslint rule
This commit is contained in:
brendanlaschke
2023-09-30 08:25:34 +02:00
committed by GitHub
parent ab4f978a00
commit c06712f161
4 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,4 @@
// eslint-disable-next-line no-restricted-imports
import { useHotkeys } from 'react-hotkeys-hook';
import {
HotkeyCallback,

View File

@ -1,3 +1,4 @@
// eslint-disable-next-line no-restricted-imports
import { Options, useHotkeys } from 'react-hotkeys-hook';
import { Keys } from 'react-hotkeys-hook/dist/types';
import { useRecoilState } from 'recoil';