Skip to content

Commit

Permalink
feat: Add editorconfig settings from core webpack
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DanielaValero committed Dec 16, 2016
1 parent b336e73 commit 89809de
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
root = true

[*]
indent_style = tab
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 233

[*.json]
indent_style = space
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2

[test/cases/parsing/bom/bomfile.{css,js}]
charset = utf-8-bom

[*.md]
trim_trailing_whitespace = false

0 comments on commit 89809de

Please sign in to comment.