Please sign in to comment.
Implement config for clang-format and editors
This creates a config file for the clang-format tool. It also establishes a .editorconfig file to help establish the proper settings for editing code in this project. First step to resolving #125
- Loading branch information...
Showing with 35 additions and 1 deletion.
|@@ -0,0 +1,22 @@|
|# Use the Google style with these modifications and a couple of others:|
|# 1) Lines can be up to 100 chars long rather than 80.|
|# 2) Use a four space indent rather than two spaces.|
|# The following directives override defaults established above.|
|# We don't want OCLint pragmas to be reformatted.|
|# Allow slightly overlong lines.|
|# Don't try to infer the most common alignment of `&` and `*` by analyzing the|
|# source file. Use right alignment; i.e., bind to the symbol not the type.|
|@@ -0,0 +1,13 @@|
|root = true|
|indent_size = 4|
|indent_style = space|
|end_of_line = lf|
|charset = utf-8|
|trim_trailing_whitespace = true|
|insert_final_newline = true|
|max_line_length = 100|
|indent_style = tab|