Contributing
How to contribute to guardrail-sim
Contributing
We welcome contributions to guardrail-sim! Here's how to get started.
Development Setup
Project Structure
Running Tests
Code Style
- We use ESLint and Prettier for formatting
- Run
pnpm lintto check for issues - Run
pnpm formatto auto-format - TypeScript strict mode is required
- Explicit return types on exported functions
Submitting Changes
- Fork the repository
- Create a feature branch (
git checkout -b feature/my-feature) - Make your changes
- Run
pnpm lint && pnpm typecheck && pnpm testto ensure quality - Commit with a descriptive message (we use conventional commits)
- Push and open a Pull Request
Commit Messages
We follow Conventional Commits: