Update CONTRIBUTING.md
added "Pull Requests" section with some guidelines, plus some addition code style guidelines. fix grammar and be more specific about splitting large pull request Update CONTRIBUTING.md
This commit is contained in:
parent
1ac6b41990
commit
53b0a9ad7a
|
@ -100,9 +100,18 @@ Code
|
|||
- 80 character line length
|
||||
- commas last
|
||||
- declare variables in the outermost scope that they are used
|
||||
- camelCase for variables in JavaScript
|
||||
- snake_case for variables in Python
|
||||
|
||||
In general, try to make your code blend in with the surrounding code.
|
||||
|
||||
## Pull Requests
|
||||
|
||||
- link back to the original issue(s) whenever possible
|
||||
- new commands should be added to the [wiki](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)
|
||||
- commits should be squashed before merging
|
||||
- large pull requests should be broken into separate pull requests (or multiple logically cohesive commits), if possible
|
||||
|
||||
## CLA
|
||||
|
||||
In order to contribute to KaTeX, you must first sign the CLA, found at www.khanacademy.org/r/cla
|
||||
|
|
Loading…
Reference in New Issue
Block a user