From 5fea1d2675a36b4e7d6ba528ebf388df6a39292c Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Wed, 19 Jul 2017 12:28:19 +0300 Subject: [PATCH] [.editorconfig] add rule for .proto files [ci skip] --- .editorconfig | 4 ++++ rpc/grpc/types.proto | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index d587999e..82f77436 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,3 +13,7 @@ indent_style = tab [*.sh] indent_style = tab + +[*.proto] +indent_style = space +indent_size = 2 diff --git a/rpc/grpc/types.proto b/rpc/grpc/types.proto index 3090e3d0..b32393a0 100644 --- a/rpc/grpc/types.proto +++ b/rpc/grpc/types.proto @@ -10,20 +10,20 @@ import "github.com/tendermint/abci/types/types.proto"; // Request types message RequestBroadcastTx { - bytes tx = 1; + bytes tx = 1; } //---------------------------------------- // Response types message ResponseBroadcastTx{ - types.ResponseCheckTx check_tx = 1; - types.ResponseDeliverTx deliver_tx = 2; + types.ResponseCheckTx check_tx = 1; + types.ResponseDeliverTx deliver_tx = 2; } //---------------------------------------- // Service Definition service BroadcastAPI { - rpc BroadcastTx(RequestBroadcastTx) returns (ResponseBroadcastTx) ; + rpc BroadcastTx(RequestBroadcastTx) returns (ResponseBroadcastTx) ; }