lib/driver/cli.js
function validateFiles (files, stateLint) {
  let ok = true

  for (const file of files) {
    try {
      ok = validate(file, stateLint) && ok
    } catch (err) {
      console.log(`ERROR: ${file} os not valid\n\t${err.message}`)
      ok = false
    }
  } // for ...

  return ok
}
function validateFiles (files, stateLint) {
  let ok = true

  for (const file of files) {
    try {
      ok = validate(file, stateLint) && ok
    } catch (err) {
      console.log(`ERROR: ${file} os not valid\n\t${err.message}`)
      ok = false
    }
  } // for ...

  return ok
}
function validateFiles ( files , stateLint ) { let ok = true for ( const file of files ) { try { ok = validate ( file , stateLint ) && ok } catch ( err ) { console . log ( ` ${ file } \n \t ${ err . message } ` ) ok = false } } // for ... return ok }
class Cli / ////////////////////////
class Cli / ////////////////////////