js/lib/tabs.ts
Function handleTabNavigation
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const handleTabNavigation = (e) => {
const key = e.key;
const currentTab = e.target.parentElement as HTMLUListElement;
const tabsArray = Array.from(tabs) as HTMLUListElement[];