Skip to content

Commit

Permalink
Apply EditorConfig settings to TypeScript files too
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMessinger committed Jan 25, 2019
1 parent 20a9109 commit 8fdbde5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .editorconfig
Expand Up @@ -11,14 +11,15 @@ root = true
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf

# 2 space indentation
indent_style = space
indent_size = 2

# JavaScript-specific settings
[*.js]
quote_type = single
[*.{js,ts}]
quote_type = double
continuation_indent_size = 2
curly_bracket_next_line = false
indent_brace_style = BSD
Expand Down

0 comments on commit 8fdbde5

Please sign in to comment.