Skip to content

Commit 33c66d7

Browse files
committed
add note about commenting
1 parent c238d96 commit 33c66d7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ Thank you for considering contributing to CO2.js. Open source is at the heart of
99
**NB** Changes/commits that are not linked to an issue will not be accepted.
1010

1111
### New issues
12-
- Our issue template provides you with a scaffold to follow when raising a new issue. There are three formats to choose from:
13-
1. *Bugs* - clearly describe the problem you're facing including steps to reproduce it. Please also be sure to include the information about the environment your code was running in (e.g. NodeJS, Deno, Edge Worker, Browser etc).
14-
1. *New features* - clearly describe the new feature you'd like to see added and provide a reason for why it should be added. eg what will be improved/possible as a result of making your suggested change.
15-
1. *Request addition of carbon estimation model to CO2.js* - please provide as much information about the model as possible including links to additional documentation and information about how the model is licensed.
16-
1712

13+
- Our issue template provides you with a scaffold to follow when raising a new issue. There are three formats to choose from:
14+
1. _Bugs_ - clearly describe the problem you're facing including steps to reproduce it. Please also be sure to include the information about the environment your code was running in (e.g. NodeJS, Deno, Edge Worker, Browser etc).
15+
1. _New features_ - clearly describe the new feature you'd like to see added and provide a reason for why it should be added. eg what will be improved/possible as a result of making your suggested change.
16+
1. _Request addition of carbon estimation model to CO2.js_ - please provide as much information about the model as possible including links to additional documentation and information about how the model is licensed.
1817

1918
## Making Changes
2019

2120
- Fork the repository on GitHub.
2221
- Create a topic branch from where you want to base your work. This branch should usually be based off `main`.
22+
- Remember to add JSDoc comments to any new functions or variables that you are introducing into the codebase.
2323
- Make commits of logical units.
2424
- Make commit messages clear and understandable.
2525

@@ -28,10 +28,10 @@ Thank you for considering contributing to CO2.js. Open source is at the heart of
2828
- Push the changes made in your branch to your fork of this repository.
2929
- Submit a [pull request](https://github.com/thegreenwebfoundation/co2.js/pulls) to the CO2.js repository in the `thegreenwebfoundation` organization.
3030
- When opening a new pull request, you'll see a template. Please follow it. It asks you to state:
31-
- the type of change (choose from a list)
32-
- link to the related issue
33-
- what documentation needs updating as a result (choose from a list)
34-
- what your changes are - be sure to clearly explain the changes you've made, any new files, dependencies, or network requests that have been added, and provide any additional context to help reviewers understand the changes made.
31+
- the type of change (choose from a list)
32+
- link to the related issue
33+
- what documentation needs updating as a result (choose from a list)
34+
- what your changes are - be sure to clearly explain the changes you've made, any new files, dependencies, or network requests that have been added, and provide any additional context to help reviewers understand the changes made.
3535
- Your pull request will be reviewed by a maintainer from Green Web Foundation.
3636
- After feedback has been given we expect responses within two weeks. After two weeks we may close the pull request if it isn't showing any activity.
3737

@@ -43,4 +43,4 @@ Please note that this project is released with a [Contributor Code of Conduct](h
4343

4444
## Thank you
4545

46-
Again, thank you for your contributions. We appreciate your help improving CO2.js, and we look forward to your future contributions!
46+
Again, thank you for your contributions. We appreciate your help improving CO2.js, and we look forward to your future contributions!

0 commit comments

Comments
 (0)