Tweak colors for better contrast on Windows (#2180)

This commit is contained in:
Dan Abramov
2017-05-16 16:45:12 +01:00
committed by GitHub
parent 134d2297dd
commit 46eeabca7e
3 changed files with 26 additions and 17 deletions

View File

@@ -104,13 +104,13 @@ module.exports = function createWebpackCompiler(config, onReadyCallback) {
// Teach some ESLint tricks.
console.log(
'Search for the ' +
chalk.underline('rule keywords') +
chalk.underline(chalk.yellow('rule keywords')) +
' to learn more about each warning.'
);
console.log(
'To ignore, add ' +
chalk.yellow('// eslint-disable-next-line') +
' to the previous line.'
chalk.cyan('// eslint-disable-next-line') +
' to the line before.'
);
console.log();
}