Skip to content

Commit b5370a2

Browse files
committed
docs: fix typos and improve clarity in contribution guidelines
1 parent fe2647b commit b5370a2

File tree

1 file changed

+21
-22
lines changed

1 file changed

+21
-22
lines changed

.github/CONTRIBUTING.md

Lines changed: 21 additions & 22 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 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 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

3636
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`.- 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,7 +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
64+
No line in the commit message should exceed 100 characters! This makes the message easier
6565
to read on GitHub as well as in various git tools.
6666

6767
The footer should contain a [closing reference to an issue](https://help.github.com/articles/closing-issues-via-commit-messages/) if any.
@@ -83,7 +83,7 @@ In the body it should say: `This reverts commit <hash>.`, where the hash is the
8383

8484
### Type
8585

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

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

100100
### Scope
101101

102-
The scope is subjective & depends on the `type` see above. A good example would be a change to a particular class / module.
102+
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.
103103

104104
### Subject
105105

106106
The subject contains a succinct description of the change:
107107

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

112112
### Body
113113

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.
114+
Just as in the **subject**, use the imperative, present tense: "change" not "changed" or "changes".
115+
The body should include the motivation for the change and contrast it with previous behavior.
116116

117117
### Footer
118118

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

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.
122+
**Breaking Changes** must start with the word `BREAKING CHANGE:` followed by a space or two newlines. The rest of the breaking change details should be provided after this.
123123

124124
Example
125125

@@ -133,9 +133,8 @@ Migration: see webpack/webpack#5225
133133

134134
## Testing Your Pull Request
135135

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:
136+
You may need to test your changes in a real-world project or dependent
137+
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:
139138

140139
```json
141140
{
@@ -149,9 +148,9 @@ Where `{id}` is the # ID of your Pull Request.
149148

150149
## Contributor License Agreement
151150

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).
151+
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).
153152
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.
153+
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.
155154

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

0 commit comments

Comments
 (0)