aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-20 03:54:47 +0800
committerGitHub <noreply@github.com>2017-05-20 03:54:47 +0800
commitd236d6c96222fd56bcf903e5bd803f7b1b23697f (patch)
tree5502b31c8b37cb8da5456d77f6db49c6eadcf4c9
parent7e7c00f7615e6c831ffda6f323c7e51831b27263 (diff)
parent8e62df0436ea9a425e0896bf233f62cde592318d (diff)
downloaddexon-solidity-d236d6c96222fd56bcf903e5bd803f7b1b23697f.tar.gz
dexon-solidity-d236d6c96222fd56bcf903e5bd803f7b1b23697f.tar.zst
dexon-solidity-d236d6c96222fd56bcf903e5bd803f7b1b23697f.zip
Merge pull request #2281 from federicobond/editorconfig
Add .editorconfig file
-rw-r--r--.editorconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..86a837c1
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,18 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{cpp,h}]
+indent_style = tab
+
+[*.{py,rst,sh,yml}]
+indent_style = space
+indent_size = 4
+
+[std/**.sol]
+indent_style = space
+indent_size = 4