UNPKG

canonical

Version:

Canonical code style linter and formatter for JavaScript, SCSS, CSS and JSON.

18 lines (13 loc) 253 B
import _ from 'lodash'; import chalk from 'chalk'; let escapeCodes; escapeCodes = []; _.forEach(chalk.styles, (style) => { escapeCodes.push(style.close); }); /** * @return {String} */ export default () => { return escapeCodes.join(``); };