This repository has been archived on 2024-11-11. You can view files and clone it, but cannot push or open issues or pull requests.
react-component-form/CONTRIBUTING.md

53 lines
2.8 KiB
Markdown
Raw Normal View History

2021-06-17 18:48:19 +02:00
# 💡 Contributing
2020-10-03 19:07:09 +02:00
Thanks a lot for your interest in contributing to **react-component-form**! 🎉
2021-06-17 18:48:19 +02:00
## Code of Conduct
**react-component-form** has adopted the [Contributor Covenant](https://www.contributor-covenant.org/) as its Code of Conduct, and we expect project participants to adhere to it. Please read [the full text](./CODE_OF_CONDUCT.md) so that you can understand what actions will and will not be tolerated.
2020-12-27 19:47:15 +01:00
## Types of contributions
2020-10-03 19:07:09 +02:00
- Reporting a bug.
- Suggest a new feature idea.
2021-06-17 18:48:19 +02:00
- Correct spelling errors, improvements or additions to documentation files.
2020-10-03 19:07:09 +02:00
- Improve structure/format/performance/refactor/tests of the code.
2020-12-27 19:47:15 +01:00
## Pull Requests
2020-10-03 19:07:09 +02:00
2021-06-17 18:48:19 +02:00
- **Please first discuss** the change you wish to make via issues.
2020-10-03 19:07:09 +02:00
- Ensure your code respect linting.
2020-10-03 19:07:09 +02:00
2021-06-17 18:48:19 +02:00
- Make sure your **code passes the tests**.
2020-10-03 19:07:09 +02:00
If you're adding new features to **react-component-form**, please include tests.
## Commits
2021-06-17 18:48:19 +02:00
The commit message guidelines respect
[@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional)
and [Semantic Versioning](https://semver.org/) for releases.
2020-10-03 19:07:09 +02:00
### Types
Types define which kind of changes you made to the project.
| Types | Description |
| -------- | ------------------------------------------------------------------------------------------------------------ |
| feat | A new feature. |
| fix | A bug fix. |
| docs | Documentation only changes. |
| style | Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc). |
| refactor | A code change that neither fixes a bug nor adds a feature. |
| perf | A code change that improves performance. |
| test | Adding missing tests or correcting existing tests. |
| build | Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm). |
| ci | Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs). |
| chore | Other changes that don't modify src or test files. |
| revert | Reverts a previous commit. |
### Scopes
Scopes define what part of the code changed.