lib/helpers/config.js
Showing 0 of 2 total issues
Function getGlobbedPaths
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
const getGlobbedPaths = async (globPatterns, excludes) => { // URL paths regex /* eslint no-useless-escape:0 */ const urlRegex = /^(?:[a-z]+:)?\/\//i; let output = [];
Function getGlobbedPaths
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Wontfix
Wontfix
const getGlobbedPaths = async (globPatterns, excludes) => { // URL paths regex /* eslint no-useless-escape:0 */ const urlRegex = /^(?:[a-z]+:)?\/\//i; let output = [];
- Read upRead up