src/js/stores/data/selectors.ts
Function getSortedItems
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function getSortedItems(
state: State,
mode: 'date' | 'publication' | 'title' = 'title',
order: 'asc' | 'desc' = 'asc',
kind?: 'cited' | 'uncited',