dsifford/academic-bloggers-toolkit

View on GitHub
src/js/stores/data/selectors.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function getSortedItems has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function getSortedItems(
    state: State,
    mode: 'date' | 'publication' | 'title' = 'title',
    order: 'asc' | 'desc' = 'asc',
    kind?: 'cited' | 'uncited',
Severity: Minor
Found in src/js/stores/data/selectors.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status