Code formatting using Prettier, right in Nova.
To format using Prettier, either:
- Use
Editor > Format with Prettier
- Or enable the format on save setting in Project settings (on by default)
You can use Prettier's built-in exclusion feature by adding a .prettierignore
file to the root of your workspace. Note: adding it anywhere else won't work.