summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorHank Shen <swh@admpub.com>2023-10-09 07:42:42 +0300
committerHank Shen <swh@admpub.com>2023-10-09 07:42:42 +0300
commita9590b45840539390424b8bbab01079c03d59db4 (patch)
treed0a515e4bf11230d12c0e4572ea6aa032ebe84e0 /.editorconfig
parent69560e37559624d8ff8027cdb12c0cb39e00210a (diff)
parent22eae5c820537b29d36814c94c2c70c08e391d71 (diff)
Merge branch 'main' of github.com:/gorilla/securecookie
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..2940ec9
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,20 @@
+; https://editorconfig.org/
+
+root = true
+
+[*]
+insert_final_newline = true
+charset = utf-8
+trim_trailing_whitespace = true
+indent_style = space
+indent_size = 2
+
+[{Makefile,go.mod,go.sum,*.go,.gitmodules}]
+indent_style = tab
+indent_size = 4
+
+[*.md]
+indent_size = 4
+trim_trailing_whitespace = false
+
+eclint_indent_style = unset