/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/create-block/lib/log.js
25 строк
427 B
Marco Ciampini
ESLint: Replace strict config with bulk suppressions (#81248)
07 авг 2026, 14:34
Не верифицирован
07 авг 2026, 14:34
7f43eaf
Код
Авторство
О чём код?
/* eslint-disable no-console */ const chalk = require( 'chalk' ); const code = ( input ) => { console.log( chalk.cyan( input ) ); }; const error = ( input ) => { console.log( chalk.bold.red( input ) ); }; const info = ( input ) => { console.log( input ); }; const success = ( input ) => { console.log( chalk.bold.green( input ) ); }; module.exports = { code, error, info, success, }; /* eslint-enable no-console */