Open jens1101 opened 4 hours ago
The Prettier VSCode extension does not work well with mono repos. It just uses the prettierignore in the root and doesn't take workspaces into consideration.
It would be ideal to run npx prettier --write ${file} on save instead.
npx prettier --write ${file}
This is possible using the RunOnSave extension, but it has not been added to the Nix repo yet. I will need to create a PR for that.
The Prettier VSCode extension does not work well with mono repos. It just uses the prettierignore in the root and doesn't take workspaces into consideration.
It would be ideal to run
npx prettier --write ${file}
on save instead.