- Notifications
You must be signed in to change notification settings - Fork479
Closed
Description
Describe the bug
When adding prettier as an option all the scaffolding works as expected. When testing the project on any file change the autoformat save defined does nothing.
Expected behavior
I would expect on save to format the whole document with prettier
How to reproduce
Scaffold a new project with prettier. What I've found out is that@vue/eslint-config-prettier
is indeed installed in the repository but it's not added to theeslint.config.ts
file.
So we are missing:
import prettierConfig from '@vue/eslint-config-prettier'export default defineConfigWithVueTs( ... prettierConfig)