SimenB/stylint

View on GitHub
src/utils/getFiles.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getFiles has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var getFiles = function( dir ) {
    if ( typeof dir !== 'string' && !( dir instanceof Array ) ) {
        throw new TypeError( 'getFiles err. Expected string or array, but received: ' + typeof dir )
    }

Severity: Minor
Found in src/utils/getFiles.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status