mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-14 14:06:38 +03:00
Merge pull request #29 from mxmCherry/feature/editorconfig
editorconfig: added basic config
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = tab
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.yml]
|
||||
indent_style = space
|
||||
@@ -65,3 +65,4 @@ Using both pointer and `omitempty` is mostly just to save traffic / generate mor
|
||||
- Each RTB type should be kept in its own file, named after type
|
||||
- File names are in underscore_case, e.g., `type BidRequest` should be declared in `bid_request.go`
|
||||
- [go fmt your code](https://blog.golang.org/go-fmt-your-code)
|
||||
- [EditorConfig](https://editorconfig.org/) (not required, but useful)
|
||||
|
||||
Reference in New Issue
Block a user