Автоматизация запуска Prettier для .ts и .tsx
Этот промпт предназначен для Claude Code и позволяет автоматически запускать Prettier после редактирования файлов .ts или .tsx. Упростите процесс форматирования кода с помощью этой автоматизации.
Тема: Автоматизация, Claude Code
Промпт
write a hook that runs prettier after every edit to a .ts or .tsx file When to use it: Use this prompt when you want to ensure that your TypeScript files are consistently formatted every time you make an edit. This is particularly useful in collaborative projects where code style consistency is crucial. What to expect from Claude Code: Claude Code will generate a script or configuration that sets up a hook to automatically run Prettier whenever you save changes to your .ts or .tsx files. This helps maintain code quality without manual intervention. Practical tips: Make sure you have Prettie
Для доступа к полному тексту откройте страницу в браузере.