about summary refs log tree commit diff stats
path: root/.editorconfig
diff options
context:
space:
mode:
authorRory Bradford <roryrjb@gmail.com>2020-04-09 16:02:46 +0100
committerRory Bradford <roryrjb@gmail.com>2020-04-09 16:02:46 +0100
commit8af4130a8927f0f4aaab208769b93da1ef0c32f8 (patch)
tree3cf8778feae8c35ed698ad843a8b5d9c4a6c575c /.editorconfig
parenta1659ec0413478122a81f3a901e76a2c246b6d30 (diff)
downloadrf-8af4130a8927f0f4aaab208769b93da1ef0c32f8.tar.gz
More code reformatting
Add editorconfig.

Signed-off-by: Rory Bradford <roryrjb@gmail.com>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..5591303
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,10 @@
+root = true
+
+[*.{c,h}]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+trim_trailing_whitespace = true
+indent_style = tab
+indent_size = 4
+max_line_length = 80