Add editorconfig file

The editorconfig[0] format is getting traction in various code editors.

[0]: http://editorconfig.org/
macos/v1.5.9
Emmanuele Bassi 8 years ago
parent 2432daf4cf
commit 8a4f42a713
  1. 30
      .editorconfig

@ -0,0 +1,30 @@
root = true
[*]
charset = utf-8
[*.{c,h}]
indent_style = space
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[configure.ac]
indent_style = tab
indent_size = 8
[Makefile.am]
indent_style = tab
indent_size = 8
[.travis.yml]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false
[meson.build]
indent_style = space
indent_size = 8
Loading…
Cancel
Save