diaspora-orm/plugin-server

View on GitHub
src/utils.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
97%

Function configureList has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const configureList = <T extends object>( pickers: { [key: string]: T | boolean }, set: string[] ) => {
    const configurationObject: { [key: string]: T | undefined | boolean } = {};

    forEach( pickers, ( picker, key ) => {
        // If the key is a regex or a minimatch (check for `*`), this var will be set to a function
Severity: Minor
Found in src/utils.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status