summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreylles <ed.ylles1997@gmail.com>2021-09-13 14:00:02 +0200
committerBerke Kocaoğlu <berke.kocaoglu@metu.edu.tr>2021-09-16 21:55:31 +0200
commitcbec6991c21771f75dfa81b14f31bf17f634bfed (patch)
tree0fceffe1250f36018a3892f31625721018ed5585
parent68083784b6f98eb31ab338136523f685cb7ec83d (diff)
downloadnsxiv-cbec6991c21771f75dfa81b14f31bf17f634bfed.tar.zst
add an editorconfig file, closes #25
-rw-r--r--.editorconfig28
1 files changed, 28 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..72b2e5e
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,28 @@
+# EditorConfig
+
+# apply to all files
+[*]
+
+# top-most EditorConfig file
+root = true
+
+# Set default charset
+charset = utf-8
+
+# Indentation
+# indent with tabs
+indent_style = tab
+# same tab size as kernel style
+indent_size = 8
+
+# no trailing spaces
+trim_trailing_whitespace = true
+
+# line lenght, same as kernel stipulated
+max_line_length = 100
+
+# all files have a final line
+insert_final_newline = true
+
+# end of line
+end_of_line = lf