okunishinishi/node-pathtree

View on GitHub

Showing 2 of 4 total issues

Function _filesInDir has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function _filesInDir (dirname = '.', options = {}) {
  let cwd = options.cwd || process.cwd()
  let ignore = [].concat(options.ignore || [])
  ignore.push('.*')

Severity: Minor
Found in lib/_files_in_dir.js - About 1 hr to fix

    Function _nodeStrings has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function _nodeStrings (data, name) {
      let keys = Object.keys(data)
      if (keys.length) {
        let lines = []
        if (name) {
    Severity: Minor
    Found in lib/_node_strings.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language