Skip to content

Instantly share code, notes, and snippets.

@pierreneter
Last active October 4, 2020 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pierreneter/9c8e7845a29fb1edf0e770e3d7a19dea to your computer and use it in GitHub Desktop.
Save pierreneter/9c8e7845a29fb1edf0e770e3d7a19dea to your computer and use it in GitHub Desktop.
.editorconfig for .proto (protocol buffers)
# https://developers.google.com/protocol-buffers/docs/style
[*.proto]
indent_stlye = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80
quote_type = double
@pierreneter
Copy link
Author

pierreneter commented Oct 4, 2020

.editorconfig already exists

curl -fsSL https://git.io/JU5X8 >> .editorconfig

.editorconfig does not exist

curl -fsSL https://git.io/JU5Xy > .editorconfig
curl -fsSL https://git.io/JU5X8 >> .editorconfig

(https://gist.github.com/pierreneter/9a2ec5033d27bce276ccff5bdb4e163a)
(https://gist.github.com/pierreneter/9c8e7845a29fb1edf0e770e3d7a19dea)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment