Thanks for your interest in contributing to Clara! Here's how to get started.
git clone https://github.com/Postman-Devrel/clara.git
cd clara
npm install
npm run buildnpm test- TypeScript strict mode
- Files: kebab-case (
error-checks.ts) - Classes: PascalCase (
CheckEngine) - Functions: camelCase (
runChecks) - Constants: SCREAMING_SNAKE_CASE (
DEFAULT_TIMEOUT_MS)
Run linting and formatting before submitting:
npm run lint
npm run format- Add the check to the appropriate pillar file in
src/analyzer/checks/ - Register it in
src/analyzer/checks/index.ts - Add unit tests in
tests/unit/checks.test.ts - Update the checks reference table in
README.md
- Fork the repo and create a branch from
main - Make your changes with tests
- Run
npm run lint && npm test - Submit a PR with a clear description of the change
Open an issue at github.com/Postman-Devrel/clara/issues.
By contributing, you agree that your contributions will be licensed under the Apache 2.0 License.