mirror of
https://github.com/facebook/duckling.git
synced 2024-11-24 07:23:03 +03:00
Documentation: Coding style
Reviewed By: haoxuany Differential Revision: D7992017 fbshipit-source-id: ddbd92929690fea167ea5cd99602160a8d8a3aa9
This commit is contained in:
parent
b28e6e56b1
commit
2e70e683b4
@ -23,6 +23,18 @@ to do this once to work on any of Facebook's open source projects.
|
||||
|
||||
Complete your CLA here: <https://code.facebook.com/cla>
|
||||
|
||||
## Coding Style
|
||||
|
||||
### Simple heuristic: Look around
|
||||
Match the style you see used in the rest of the project. This includes formatting and naming things in code.
|
||||
|
||||
### Simple philosophy: Make it 1% better
|
||||
The code is far from perfectly clean. When the code surrounding your changes is not consistent, go ahead and make it so. However don't clutter your changes with style clean-up; split the pull requests to make the review process easier.
|
||||
|
||||
### Guidelines
|
||||
- 80-char limit.
|
||||
- Imports: one block for standard modules and other packages, one block for project modules. Qualified imports at the end of each block, alphabetical ordering.
|
||||
|
||||
## Issues
|
||||
We use GitHub issues to track public bugs. Please ensure your description is
|
||||
clear and has sufficient instructions to be able to reproduce the issue.
|
||||
|
Loading…
Reference in New Issue
Block a user