🎉 First off, thanks for taking the time to contribute! 🎉
With the aim of ensuring that usetheform
lives and continues to grow we would like to encourage everyone to help and support this library by contributing.
-
Fork and clone the repo to your local machine
-
Create a new branch from
master
with a meaningful name for a new feature or an issue you want to work on:git checkout -b your-meaningful-branch-name
-
Install packages by running:
npm i
-
If you have added/removed code ensure that test suite still passes.
npm test
-
Write some unit tests to cover as much of your code as possible.
-
Ensure your code lints without errors.
npm run lint
-
Ensure build passes.
npm run build
-
Push your branch:
git push -u origin your-meaningful-branch-name
-
Submit a pull request to the upstream usetheform repository.
-
Choose a descriptive title and describe your changes briefly.
UseTheForm uses eslint and prettier. As suggestion, you might enable the eslint and prettier plugins in your editor to get real-time feedback. To execute the linting manually, run the following command: npm run lint
By contributing your code to the usetheform GitHub repository, you agree to license your code under the MIT license.