how to add Prettier here?

Hi, I would like automatic line alignment, like in VSCode, whenever I save something, but it doesn’t seem to work in Cursor. Do you know why that might be? like prettier