AI vector Forge

Prettier for Code Formatting

Prettier is an opinionated code formatter that enforces a consistent code style across the entire project. This repository is configured to use Prettier in two ways: automatically via a GitHub workflow and manually for local development.

Automated Formatting with GitHub Actions

This repository includes a GitHub Actions workflow that automatically formats all code.

This ensures that all code merged into the main branch is consistently formatted.

Manual Formatting

While the automated workflow handles formatting on the server, it’s a good practice to run Prettier locally as you work.

Installation

This repository includes Prettier as a development dependency in package.json. To install it, run:

npm install

The repository also includes a .prettierrc configuration file, so you don’t need to create one.

Usage

You can run Prettier from the command line to format your files.

For more detailed information on using Prettier, refer to the official Prettier documentation.