Merge pull request #4237 from theStack/20200501-doc-fix-tab-size-in-contrib-guidelines

docs: fix tab size (8 spaces) in contribution guidelines
This commit is contained in:
Oliver Gugger 2020-05-01 21:31:56 +02:00 committed by GitHub
commit 2c979fc179
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -485,7 +485,7 @@ set of linting scripts run by `make lint`. These include `gofmt`. In addition
to `gofmt` we've opted to enforce the following style guidelines. to `gofmt` we've opted to enforce the following style guidelines.
* ALL columns (on a best effort basis) should be wrapped to 80 line columns. * ALL columns (on a best effort basis) should be wrapped to 80 line columns.
Editors should be set to treat a tab as 4 spaces. Editors should be set to treat a tab as 8 spaces.
* When wrapping a line that contains a function call as the unwrapped line * When wrapping a line that contains a function call as the unwrapped line
exceeds the column limit, the close paren should be placed on its own exceeds the column limit, the close paren should be placed on its own
line. Additionally, all arguments should begin in a new line after the line. Additionally, all arguments should begin in a new line after the