Skip to content

Commit

Permalink
Update .editorconfig
Browse files Browse the repository at this point in the history
- Specify indentation of 4 spaces for js/ts/md files, 2 spaces for
  json/yml files.
- Specify LF end of line, final newline and use of spaces for all files.

Signed-off-by: Simon Marchi <simon.marchi@ericsson.com>
  • Loading branch information
Simon Marchi authored and simark committed Sep 20, 2018
1 parent 4788b6e commit 0f97c9a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
root = true

[*.{json,js,ts,md,yml}]
[*]
insert_final_newline = true
end_of_line = lf
indent_style = space

[.gitignore]
insert_final_newline = true
[*.{js,ts,md}]
indent_size = 4

[*.{json,yml}]
indent_size = 2

0 comments on commit 0f97c9a

Please sign in to comment.