Skip to content

Commit 68a7ee0

Browse files
committed
Add editorconfig
EditorConfig ensures consistency for things like spacing, newlines, and whether files should have a trailing newline.
1 parent f8240fd commit 68a7ee0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# EditorConfig ensures consistency: https://editorconfig.org
2+
# Plugins are available for all good editors (and even some
3+
# bad ones)
4+
#
5+
# VSCode plugin: https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
6+
7+
# This is the top-most editorconfig file for the repository
8+
root = true
9+
10+
# Unix-style newlines with a newline ending every file
11+
[*]
12+
end_of_line = lf
13+
insert_final_newline = true
14+
trim_trailing_whitespace = true
15+
charset = utf-8
16+
17+
# Opinionated tab/space rules, matching the Docusaurus defaults.
18+
indent_style = space
19+
indent_size = 2

0 commit comments

Comments
 (0)