/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
prettier.config.mjs
14 строк
338 B
Shail Mehta
Fix Root `.prettierrc.js` override issue (#80422)
17 июл 2026, 20:58
Не верифицирован
17 июл 2026, 20:58
80297f8
Код
Авторство
О чём код?
// Import the default config file and expose it in the project root. // Useful for editor integrations. import baseConfig from './packages/prettier-config/lib/index.js'; export default { ...baseConfig, overrides: [ ...( baseConfig.overrides ?? [] ), { files: [ 'changelog.txt' ], options: { parser: 'markdown' }, }, ], };