cli/lint-markdown.js
function getIgnoredFiles () {
  const filePath = path.join(process.cwd(), '.remarkignore')
  const ignoredFilesSource = fs.existsSync(filePath) ? fs.readFileSync(filePath, {encoding: 'utf8'}) : ''
  var ignoredFiles = ignoredFilesSource.split('\n')

  ignoredFiles = ignoredFiles.filter(function (item) {
    return item !== ''
  })

  return ignoredFiles
}
function getIgnoredFiles () {
  const filePath = path.join(process.cwd(), '.remarkignore')
  const ignoredFilesSource = fs.existsSync(filePath) ? fs.readFileSync(filePath, {encoding: 'utf8'}) : ''
  var ignoredFiles = ignoredFilesSource.split('\n')

  ignoredFiles = ignoredFiles.filter(function (item) {
    return item !== ''
  })

  return ignoredFiles
}
function getIgnoredFiles ( ) { const filePath = path . join ( process . cwd ( ) , '.remarkignore' ) const ignoredFilesSource = fs . existsSync ( filePath ) ? fs . readFileSync ( filePath , { encoding : 'utf8' } ) : '' var ignoredFiles = ignoredFilesSource . split ( '\n' ) ignoredFiles = ignoredFiles . filter ( function ( item ) { return item !== '' } ) return ignoredFiles }
The entries in the consumer's `.remarkignore` file

@returns {Array} entries
The entries in the consumer s . remarkignore file