|
2 | 2 |
|
3 | 3 | - [ ] If this is your first time contributing, we recommend you read the [Code
|
4 | 4 | Contribution Guidelines](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md)
|
5 |
| -- [ ] All changes are Go version 1.11 compliant |
6 |
| -- [ ] The code being submitted is commented according to the |
7 |
| - [Code Documentation and Commenting](#CodeDocumentation) section |
8 |
| -- [ ] For new code: Code is accompanied by tests which exercise both |
| 5 | +- [ ] All changes are Go version 1.12 compliant |
| 6 | +- [ ] The code being submitted is commented according to [Code Documentation and Commenting](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#CodeDocumentation) |
| 7 | +- [ ] For new code: Code is accompanied by tests which exercise both |
9 | 8 | the positive and negative (error paths) conditions (if applicable)
|
10 |
| -- [ ] For bug fixes: Code is accompanied by new tests which trigger |
| 9 | +- [ ] For bug fixes: Code is accompanied by new tests which trigger |
11 | 10 | the bug being fixed to prevent regressions
|
12 |
| -- [ ] Any new logging statements use an appropriate subsystem and |
| 11 | +- [ ] Any new logging statements use an appropriate subsystem and |
13 | 12 | logging level
|
14 |
| -- [ ] Code has been formatted with `go fmt` |
15 |
| -- [ ] For code and documentation: lines are wrapped at 80 characters |
| 13 | +- [ ] Code has been formatted with `go fmt` |
| 14 | +- [ ] For code and documentation: lines are wrapped at 80 characters |
16 | 15 | (the tab character should be counted as 8 characters, not 4, as some IDEs do
|
17 | 16 | per default)
|
18 |
| -- [ ] Running `make check` does not fail any tests |
19 |
| -- [ ] Running `go vet` does not report any issues |
20 |
| -- [ ] Running `make lint` does not report any **new** issues that did not |
| 17 | +- [ ] Running `make check` does not fail any tests |
| 18 | +- [ ] Running `go vet` does not report any issues |
| 19 | +- [ ] Running `make lint` does not report any **new** issues that did not |
21 | 20 | already exist
|
22 | 21 | - [ ] All commits build properly and pass tests. Only in exceptional
|
23 | 22 | cases it can be justifiable to violate this condition. In that case, the
|
24 | 23 | reason should be stated in the commit message.
|
25 |
| -- [ ] Commits have a logical structure ([see section 4.5, of the Code Contribution Guidelines]) |
| 24 | +- [ ] Commits have a logical structure according to [Ideal Git Commit Structure](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#IdealGitCommitStructure) |
0 commit comments