src/utils.ts
Function configureList
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
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