Skip to content

Commit 434c1ad

Browse files
authored
Create .editorconfig
1 parent 81238e3 commit 434c1ad

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# For more information about the properties used in
2+
# this file, please see the EditorConfig documentation:
3+
# https://editorconfig.org/
4+
5+
root = true
6+
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
indent_style = tab
11+
indent_size = 4
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
15+
[*.js]
16+
quote_type = single
17+
18+
[package.json]
19+
# The indent size used in the `package.json` file cannot be changed
20+
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
21+
indent_size = 2
22+
indent_style = space
23+
24+
[{*.yaml,*.yml}]
25+
indent_style = space
26+
indent_size = 2

0 commit comments

Comments
 (0)