Showing 2 of 4 total issues
Function _filesInDir
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _filesInDir (dirname = '.', options = {}) {
let cwd = options.cwd || process.cwd()
let ignore = [].concat(options.ignore || [])
ignore.push('.*')
Function _nodeStrings
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _nodeStrings (data, name) {
let keys = Object.keys(data)
if (keys.length) {
let lines = []
if (name) {