Skip to content

Commit 26de829

Browse files
authored
docs: fix typos and improve clarity in contribution guidelines (#702)
1 parent 61e1452 commit 26de829

File tree

1 file changed

+22
-26
lines changed

1 file changed

+22
-26
lines changed

.github/CONTRIBUTING.md

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,34 @@ The issue tracker is for bug reports and feature discussions.
1717

1818
## <a name="issue"></a> Found an Issue or Bug?
1919

20-
Before you submit an issue, please search the issue tracker, maybe an issue for your problem already exists and the discussion might inform you of workarounds readily available.
20+
Before you submit an issue, please search the issue tracker, an issue for your problem may already exist, and the discussion might inform you of workarounds readily available.
2121

22-
We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. In order to reproduce bugs, we ask that you to provide a minimal reproduction scenario (github repo or failing test case). Having a live, reproducible scenario gives us a wealth of important information without going back & forth to you with additional questions like:
22+
We want to fix all the issues as soon as possible, but before fixing a bug, we need to reproduce and confirm it. In order to reproduce bugs, we ask that you provide a minimal reproduction scenario (GitHub repo or failing test case). Having a live, reproducible scenario gives us a wealth of important information without going back & forth to you with additional questions like:
2323

2424
- version of Webpack used
2525
- version of the loader / plugin you are creating a bug report for
2626
- the use-case that fails
2727

2828
A minimal reproduce scenario allows us to quickly confirm a bug (or point out config problems) as well as confirm that we are fixing the right problem.
2929

30-
We will be insisting on a minimal reproduce scenario in order to save maintainers time and ultimately be able to fix more bugs. We understand that sometimes it might be hard to extract essentials bits of code from a larger code-base but we really need to isolate the problem before we can fix it.
30+
We will be insisting on a minimal reproduction scenario in order to save the maintainers' time and ultimately be able to fix more bugs. We understand that sometimes it might be hard to extract essential bits of code from a larger codebase, but we really need to isolate the problem before we can fix it.
3131

32-
Unfortunately, we are not able to investigate / fix bugs without a minimal reproduction, so if we don't hear back from you we are going to close an issue that doesn't have enough info to be reproduced.
32+
Unfortunately, we are unable to investigate or fix bugs without a minimal reproduction, so if we don't hear back from you, we may have to close an issue that doesn't have enough info to be reproduced.
3333

3434
## <a name="feature"></a> Feature Requests?
3535

36-
You can _request_ a new feature by creating an issue on Github.
36+
You can _request_ a new feature by creating an issue on GitHub.
3737

38-
If you would like to _implement_ a new feature, please submit an issue with a proposal for your work `first`, to be sure that particular makes sense for the project.
38+
If you would like to _implement_ a new feature yourself, please **first submit an issue** with a proposal to ensure the idea aligns with the goals of the project.
3939

4040
## <a name="submit-pr"></a> Pull Request Submission Guidelines
4141

4242
Before you submit your Pull Request (PR) consider the following guidelines:
4343

44-
- Search Github for an open or closed PR that relates to your submission. You don't want to duplicate effort.
45-
- Commit your changes using a descriptive commit message that follows our [commit message conventions](#commit). Adherence to these conventions is necessary because release notes are automatically generated from these messages.
46-
- Fill out our `Pull Request Template`. Your pull request will not be considered if it is ignored.
47-
- Please sign the `Contributor License Agreement (CLA)` when a pull request is opened. We cannot accept your pull request without this. Make sure you sign with the primary email address associated with your local / github account.
44+
- Search GitHub for an open or closed PR related to your submission to avoid duplicating effort.
45+
- Commit your changes using a descriptive commit message that follows our [commit message conventions](#commit). This is important because release notes are automatically generated from these messages.
46+
- Complete the `Pull Request Template`. Pull requests that ignore the template will not be reviewed.
47+
- Please sign the `Contributor License Agreement (CLA)` when you open your pull request. We cannot accept your contribution without it. Be sure to sign using the primary email address associated with your local and GitHub account.
4848

4949
## <a name="commit"></a> Webpack Contrib Commit Conventions
5050

@@ -61,8 +61,7 @@ format that includes a **type**, a **scope** and a **subject**:
6161

6262
The **header** is mandatory and the **scope** of the header is optional.
6363

64-
Any line of the commit message cannot be longer 100 characters! This allows the message to be easier
65-
to read on GitHub as well as in various git tools.
64+
No line in the commit message should exceed 100 characters! This makes the message easier to read on GitHub as well as in various Git tools.
6665

6766
The footer should contain a [closing reference to an issue](https://help.github.com/articles/closing-issues-via-commit-messages/) if any.
6867

@@ -83,7 +82,7 @@ In the body it should say: `This reverts commit <hash>.`, where the hash is the
8382

8483
### Type
8584

86-
Must be one of the following:
85+
Must be one of the following commit types:
8786

8887
- **build**: Changes that affect the build system or external dependencies (example scopes: babel, npm)
8988
- **chore**: Changes that fall outside of build / docs that do not effect source code (example scopes: package, defaults)
@@ -99,27 +98,26 @@ Must be one of the following:
9998

10099
### Scope
101100

102-
The scope is subjective & depends on the `type` see above. A good example would be a change to a particular class / module.
101+
The scope is subjective & depends on the `type` see above. A good example of a scope would be a change to a particular class or module.
103102

104103
### Subject
105104

106105
The subject contains a succinct description of the change:
107106

108-
- use the imperative, present tense: "change" not "changed" nor "changes"
107+
- use the imperative, present tense: "change" not "changed" or "changes"
109108
- don't capitalize the first letter
110109
- no dot (.) at the end
111110

112111
### Body
113112

114-
Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes".
115-
The body should include the motivation for the change and contrast this with previous behavior.
113+
Just as in the **subject**, use the imperative, present tense: "change" not "changed" or "changes".
114+
The body should include the motivation for the change and contrast it with previous behavior.
116115

117116
### Footer
118117

119-
The footer should contain any information about **Breaking Changes** and is also the place to
120-
reference GitHub issues that this commit **Closes**.
118+
The footer should include any information about **Breaking Changes** and is also the place to reference GitHub issues that this commit **Closes**.
121119

122-
**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines. The rest of the commit message is then used for this.
120+
**Breaking Changes** must start with the word `BREAKING CHANGE:` followed by a space or two new lines. The rest of the breaking change details should be provided after this.
123121

124122
Example
125123

@@ -133,9 +131,7 @@ Migration: see webpack/webpack#5225
133131

134132
## Testing Your Pull Request
135133

136-
You may have the need to test your changes in a real-world project or dependent
137-
module. Thankfully, Github provides a means to do this. Add a dependency to the
138-
`package.json` for such a project as follows:
134+
You may need to test your changes in a real-world project or a dependent module. Thankfully, GitHub provides a means to do this. To add a dependency to the `package.json` of such a project, use the following syntax:
139135

140136
```json
141137
{
@@ -149,11 +145,11 @@ Where `{id}` is the # ID of your Pull Request.
149145

150146
## Contributor License Agreement
151147

152-
When submitting your contribution, a CLA (Contributor License Agreement) bot will come by to verify that you signed the [CLA](https://easycla.lfx.linuxfoundation.org/#/?version=2).
148+
When submitting your contribution, a CLA (Contributor License Agreement) bot will verify whether you have signed the [CLA](https://easycla.lfx.linuxfoundation.org/#/?version=2).
153149
If it is your first time, it will link you to the right place to sign it.
154-
However, if you have committed your contributions using an email that is not the same as your email used on GitHub, the CLA bot can't accept your contribution.
150+
However, if the email used in your commits doesn’t match the email associated with your GitHub account, the CLA bot won’t accept your contribution.
155151

156-
Run `git config user.email` to see your Git email, and verify it with [your GitHub email](https://github.com/settings/emails).
152+
Run `Git config user.email` to see your Git email, and verify it with [your GitHub email](https://github.com/settings/emails).
157153

158154
## Thanks
159155

0 commit comments

Comments
 (0)