Skip to content

Commit 89809de

Browse files
committed
feat: Add editorconfig settings from core webpack
In order to have a consistent style on the projects of webpack, we are using for the cli the settings that are used also in webpack.
1 parent b336e73 commit 89809de

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
indent_size = 4
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
max_line_length = 233
10+
11+
[*.json]
12+
indent_style = space
13+
indent_size = 2
14+
15+
[*.yml]
16+
indent_style = space
17+
indent_size = 2
18+
19+
[test/cases/parsing/bom/bomfile.{css,js}]
20+
charset = utf-8-bom
21+
22+
[*.md]
23+
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)