Skip to content

Commit

Permalink
Updated .editorConfig for JS/TS files. Settings taken from the VSCode (
Browse files Browse the repository at this point in the history
…#394)

repo.
  • Loading branch information
cleemullins authored and sgellock committed Sep 16, 2018
1 parent 5a0e6e3 commit 97472e8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,20 @@ indent_size = 2
# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8-bom

[*.{js, ts}]
indent_size = 4
trim_trailing_whitespace = true

# The indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
[{*.yml,*.yaml,package.json}]
indent_style = space
indent_size = 2

###############################
# .NET Coding Conventions #
###############################
Expand Down

0 comments on commit 97472e8

Please sign in to comment.