AlexAegis/advent-of-code

View on GitHub
solutions/typescript/2020/24/src/parse.function.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function parse has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const parse = (input: string): HexagonalDirection[][] => {
    const instructions: HexagonalDirection[][] = [];
    for (const line of split(input)) {
        const neighbours: HexagonalDirection[] = [];
        let chomp = line;
Severity: Minor
Found in solutions/typescript/2020/24/src/parse.function.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status