/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/create-block-tutorial-template/index.js
36 строк
713 B
Marco Ciampini
ESLint: Replace strict config with bulk suppressions (#81248)
07 авг 2026, 14:34
Не верифицирован
07 авг 2026, 14:34
7f43eaf
Код
Авторство
О чём код?
const { join } = require( 'path' ); module.exports = { defaultValues: { slug: 'copyright-date-block', title: 'Copyright Date', description: "Display your site's copyright date.", attributes: { fallbackCurrentYear: { type: 'string', }, showStartingYear: { type: 'boolean', }, startingYear: { type: 'string', }, }, supports: { color: { background: false, text: true, }, html: false, typography: { fontSize: true, }, }, editorScript: 'file:./index.js', render: 'file:./render.php', example: {}, wpEnv: true, }, pluginTemplatesPath: join( __dirname, 'plugin-templates' ), blockTemplatesPath: join( __dirname, 'block-templates' ), };