src/index.js
/**
 * Takes a list of Stylelint results and outputs them to the console.
 * @param  {Array<Object>} resultList Stylelint result list.
 * @return {Array<Object>}            Stylelint result list.
 */
Takes a list of Stylelint results and outputs them to the console.
@param  {Array} resultList Stylelint result list.
@return {Array}            Stylelint result list.
Takes a list of Stylelint results and outputs them to the console . @param { Array } resultList Stylelint result list . @return { Array } Stylelint result list .
function consoleResultListReporter(resultList) {
  resultList
    .filter(result => result.messages.length > 0)
    .forEach(consoleResultReporter);
  return resultList;
}
function consoleResultListReporter ( resultList ) { resultList . filter ( result => result . messages . length > 0 ) . forEach ( consoleResultReporter ) ; return resultList ; }
Takes a list of Stylelint results and outputs them to the console.
Takes a list of Stylelint results and outputs them to the console .