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
🤭 Thank you for your contribution. Please check if your changes comply with the following project specifications.
45
+
46
+
### 1. Formatting
47
+
48
+
We use different formatting tools for various programming languages (including documentation) in our project. You must ensure that the code and documentation are correctly formatted before submitting a pr.
49
+
50
+
- .{md,js,ts,php,sql} use prettier
51
+
- .{c,cpp,java} use clang-format
52
+
- .{py} use black
53
+
- .{go} use gofmt
54
+
- Others to be improved
55
+
56
+
### 2. Git Commit Message
57
+
58
+
Our project follows the [AngularJS Git Commit Message Conventions](https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#). We hope that your submission information is as consistent as possible with the project.
59
+
60
+
- Add or modify solutions: feat: add/update solution(s) to lc problem(s): No.xxxx
61
+
- Fix errors: fix: xxxx
62
+
- Routine maintenance: chore: xxx
63
+
64
+
### 3. Other notes
65
+
66
+
When adding solutions and code, you need to create a Solution.xxx source code file (if it already exists, please confirm whether the algorithm is better, if yes, overwrite the existing algorithm code), and at the same time, you need to add the corresponding code snippets in README.md and README_EN.md (do not have Chinese comments in the English file)
67
+
68
+
In addition, the coding style (such as the naming of variables and functions) should be as consistent as possible with the existing code in the project.
0 commit comments