lib/driver/cli.js
function validate (file, stateLint) {
  const json = readAndParse(file)
  const problems = stateLint.validate(json)
  if (problems.length) {
    console.log(`ERROR: ${file} is not valid`)
    problems.forEach(p => console.log(`\t${p}`))
  }

  return (problems.length === 0)
}
function validate (file, stateLint) {
  const json = readAndParse(file)
  const problems = stateLint.validate(json)
  if (problems.length) {
    console.log(`ERROR: ${file} is not valid`)
    problems.forEach(p => console.log(`\t${p}`))
  }

  return (problems.length === 0)
}
validateFiles