src/lib/cli.js
function printAllAvailable() {
  if (!argv.available) {
    return;
  }

  const heading = chalk.blue.underline('AVAILABLE: All available stylelint rules:');
  const rulesToPrint = _.map(rules.stylelintAll, rule => {
    return {
      rule,
      url: chalk.cyan(`https://stylelint.io/user-guide/rules/${rule}/`)
    };
  });

  printColumns(heading, rulesToPrint);
}
function printAllAvailable() {
  if (!argv.available) {
    return;
  }

  const heading = chalk.blue.underline('AVAILABLE: All available stylelint rules:');
  const rulesToPrint = _.map(rules.stylelintAll, rule => {
    return {
      rule,
      url: chalk.cyan(`https://stylelint.io/user-guide/rules/${rule}/`)
    };
  });

  printColumns(heading, rulesToPrint);
}
function printAllAvailable ( ) { if ( ! argv . available ) { return ; } const heading = chalk . blue . underline ( 'AVAILABLE: All available stylelint rules:' ) ; const rulesToPrint = _ . map ( rules . stylelintAll , rule => { return { rule , url : chalk . cyan ( ` ${ rule } ` ) } ; } ) ; printColumns ( heading , rulesToPrint ) ; }
Print all available stylelint rules
Print all available stylelint rules