ESLint: Disable and re-enable rule for multiple lines
5 December 2022 (Updated 5 December 2022)
/* eslint-disable @typescript-eslint/no-empty-function */
setIsOpen: (isOpen: boolean) => {},
setPosition: (position: string) => {},
setBehavior: (behavior: string) => {},
/* eslint-enable @typescript-eslint/no-empty-function */
Tagged:
JavaScript tooling
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment