You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,18 @@ to do this once to work on any of Facebook's open source projects.
23
23
24
24
Complete your CLA here: <https://code.facebook.com/cla>
25
25
26
+
## Coding Style
27
+
28
+
### Simple heuristic: Look around
29
+
Match the style you see used in the rest of the project. This includes formatting and naming things in code.
30
+
31
+
### Simple philosophy: Make it 1% better
32
+
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.
33
+
34
+
### Guidelines
35
+
- 80-char limit.
36
+
- Imports: one block for standard modules and other packages, one block for project modules. Qualified imports at the end of each block, alphabetical ordering.
37
+
26
38
## Issues
27
39
We use GitHub issues to track public bugs. Please ensure your description is
28
40
clear and has sufficient instructions to be able to reproduce the issue.
0 commit comments