TypeCobolTeam / TypeCobol

TypeCobol is an Incremental Cobol parser for IBM Enterprise Cobol 6 for zOS syntax. TypeCobol is also an extension of Cobol 85 language which can then be converted to Cobol85.
Other
78 stars 25 forks source link

Code reformatter #614

Open smedilol opened 7 years ago

smedilol commented 7 years ago

As we have different coding styles, sometimes we need to reformat the code before working on it. Our commit contains then code reformatting + real stuff for an issue. Our commit are then harder to read and understand.

We need a code reformatter shared by all the team:

For the existing code, we will reformat all the code and then commit it.

smedilol commented 7 years ago

See https://github.com/dotnet/codeformatter for a C# code formatter See https://github.com/michalrus/git-hooks-code-autoformat for pre commit hook

smedilol commented 7 years ago

Also see http://editorconfig.org/