diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-10-24 20:51:30 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-10-24 20:53:38 -0700 |
commit | 0ed2541d6dc3ff31126915c6ea59d92f0c23acd1 (patch) | |
tree | e84c7c6d1ef9935383ea150c06835be0199b892f | |
parent | ab254b555e02791e8d46cac4d1d8e75682c67671 (diff) |
Added .editorconfig.
Thanks to @lipis. Closes #50. This may need tweaking.
-rw-r--r-- | .editorconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f0f2032 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# editorconfig.org + +root = true + +[*] +end_of_line = lf +charset = utf-8 +insert_final_newline = true + +[*.js] +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +[{*.c,Makefile}] +trim_trailing_whitespace = true +indent_style = tab |