mgodave / barge

A JVM Implementation of the Raft Consensus Protocol
Apache License 2.0
92 stars 32 forks source link

Define coding conventions #52

Open abailly opened 10 years ago

abailly commented 10 years ago

I found that indentation and layout of code is not consistent. Would be good to define conventions and add files for IDEA and Eclipse.

mgodave commented 10 years ago

:+1:

abailly commented 10 years ago

Which IDE are you using? I personally use IDEA 12 so it would be easy for me to submit some formatting conventions + intention checks from IDEA.

mgodave commented 10 years ago

IDEA 12

justinsb commented 10 years ago

Eclipse for me!

I think this should be part of the Travis CI verification, otherwise it won't get run.

mgodave commented 10 years ago

I'm pretty sure intellij can import eclipse formatting rules