Skip to content

Commit 81ea260

Browse files
awaistkditsvinayak
andauthored
Fixed typo in CONTRIBUTING.md file (#148)
* Fixed typo in CONTRIBUTING.md file * Update CONTRIBUTING.md Co-authored-by: vinayak <[email protected]>
1 parent 6483ecc commit 81ea260

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

CONTRIBUTING.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@ Welcome to [TheAlgorithms/Javascript](https://github.com/TheAlgorithms/Javascrip
88

99
### Contributor
1010

11-
We are very happy that you consider implementing algorithms and data structure for others! This repository is referenced and used by learners from around the globe. Being one of our contributors, you agree and confirm that:
11+
We are very happy that you consider implementing algorithms and data structures for others! This repository is referenced and used by learners from around the globe. Being one of our contributors, you agree and confirm that:
1212

1313
- You did your work - plagiarism is not allowed.
1414
- Any plagiarized work will not be merged.
1515
- Your work will be distributed under [GNU License](LICENSE) once your pull request is merged
16-
- You submitted work fulfils or mostly fulfils our styles and standards
16+
- Your submitted work must fulfill our styles and standards
1717

1818
**New implementation** is welcome! For example, new solutions to a problem, different representations of a graph data structure or algorithm designs with different complexity.
1919

2020
**Improving comments** and **writing proper tests** are also highly welcome.
2121

2222
### Contribution
2323

24-
We appreciate any contribution, from fixing grammar mistakes to implementing complex algorithms. Please read this section if you are contributing your work.
24+
We appreciate any contribution, from fixing grammar mistakes to implementing complex algorithms. Please read this section if you are contributing to your work.
2525

2626

27-
If you submit a pull request that resolves an open issue, please help us to keep our issue list small by adding `fixes: #{$ISSUE_NO}` to your commit message. GitHub will use this tag to auto close the issue if your PR is merged.
27+
If you submit a pull request that resolves an open issue, please help us to keep our issue list small by adding `fixes: #{$ISSUE_NO}` to your commit message. GitHub will use this tag to auto-close the issue if your PR is merged.
2828

2929
#### What is an Algorithm?
3030

@@ -61,17 +61,18 @@ To maximize the readability and correctness of our code, we require that new sub
6161
- follow code indentation
6262
- Always use 2 spaces for indentation of code blocks
6363
```
64-
function sumOfArray (arrayOfNumbers) {
65-
let sum = 0
66-
for (let i = 0; i < arrayOfNumbers.length; i++) {
67-
sum += arrayOfNumbers[i]
68-
}
69-
return (sum)
70-
}
71-
72-
```
64+
function sumOfArray (arrayOfNumbers) {
65+
let sum = 0
66+
for (let i = 0; i < arrayOfNumbers.length; i++) {
67+
sum += arrayOfNumbers[i]
68+
}
69+
return (sum)
70+
}
71+
72+
```
7373
- Avoid using global variables and avoid '=='
7474
- Please use 'let' over 'var'
75+
- Please use 'console.log()'
7576
- We strongly recommend the use of ECMAScript 6
7677
- Avoid importing external libraries for basic algorithms. Only use those libraries for complicated algorithms.
7778

0 commit comments

Comments
 (0)