Skip to content

Commit aee2cb9

Browse files
committed
Add editorconfig
1 parent 6126691 commit aee2cb9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
# Template from: https://github.com/DecimalTurn/VBA-on-GitHub
3+
4+
# top-most EditorConfig file
5+
root = true
6+
7+
# Properties for VBA, VB6 and twinBASIC file extensions
8+
[*.{bas,cls,frm,vba,doccls,ctl,dsr,twin,tbform}]
9+
indent_style = space
10+
indent_size = 4
11+
end_of_line = crlf
12+
# Avoid line too long error (https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/line-too-long):
13+
max_line_length = 1023
14+
insert_final_newline = true
15+
trim_trailing_whitespace = true
16+
17+
# The character set property isn't widely supported, but you can still add it. It just won't do anything if unsupported by your editor.
18+
# Reference: https://github.com/editorconfig/editorconfig/issues/209#issuecomment-445241830
19+
# Eg.:
20+
# charset = windows-1252
21+
# charset = us-ascii

0 commit comments

Comments
 (0)