Please note that this is the README for contributors, if you need instructions on how to consume this package, please take a look here.
A set of South African specific validators for Angular forms.
-
Clone the repo.
-
Navigate to
projects/rh-rsa-form-validators
-
Run
npm install
. -
Create a feature or bugfix branch.
-
Make your changes.
-
Ensure that your changes are of good quality.
-
Commit your changes and submit a PR to merge your changes into
main
.
To check eslint, run command npm run lint
.
To check unit tests, run command npm run test
.
Ensure you work out of the project itself (projects/rh-rsa-form-validators
) and not the Angular workspace
Always make the code better, if you see errors, please fix them.
Add tests and try to move the code coverage up to 90%.
Update the usage documentation.
Bump the version number according to semantic versioning.
Only the classes and models exported in public-api.ts
will be exposed through the package.