Thanks for your interest in contributing to Valar.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/valar.git - Create a branch:
git checkout -b your-feature-branch
Requirements:
- JDK 21+
- sbt 1.10+
Build and test:
sbt compile
sbt testRun tests for a specific module:
sbt valarCore/test
sbt valarMunit/test
sbt valarTranslator/testFormat code:
sbt scalafmtAllCheck formatting:
sbt scalafmtCheckAllvalar/
valar-core/ # Core validation library
valar-munit/ # MUnit testing utilities
valar-translator/ # i18n support
valar-benchmarks/ # JMH benchmarks
- Ensure all tests pass:
sbt test - Check formatting:
sbt scalafmtCheckAll - Write clear commit messages
- Open a pull request against
main
- Keep changes focused. One feature or fix per PR.
- Add tests for new functionality.
- Update documentation if needed.
- Follow existing code style.
sbt "valarBenchmarks / Jmh / run"Open an issue for questions or discussion.