From 8c52556cc0aa1f83034983724665f06fddd7f114 Mon Sep 17 00:00:00 2001 From: Cameron Slipp Date: Mon, 23 Mar 2026 10:57:14 -0400 Subject: [PATCH] chore: oxc info to DEVELOPMENT.md (#2027) * Adding info on formatting and linting * fixing md links --- DEVELOPMENT.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index b52d20dfb..9aa6a7655 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -99,6 +99,13 @@ Other useful commands - **List running processes** by running `docker ps` - **Kill running process** by running `docker kill ` +## FORMATTING AND LINTING + +Ontime uses [oxfmt](https://oxc.rs/docs/guide/usage/formatter.html) for formatting and [oxlint](https://oxc.rs/docs/guide/usage/linter.html) for linting. Look for an [oxc extension](https://oxc.rs/docs/guide/usage/linter/editors) for your editor of choice. + +- **Run formatter** by running `pnpm format` +- **Run linter** by running `pnpm lint` + ## CONTRIBUTION GUIDELINES If you want to propose changes to the codebase, please reach out before opening a Pull Request.