Skip to content

Commit

Permalink
update .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
gfmio committed Oct 19, 2019
1 parent 059c1c6 commit 431f9ac
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,23 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
printWidth = 80

[*.{ts,tsx,js,jsx,json}]
indent_size = 4
[*.{ts,tsx,js,jsx,json,json5}]
curly_bracket_next_line = true
spaces_around_operators = true
spaces_around_brackets = outside
indent_brace_style = K&R
max_line_length = 120

[{package.json,.travis.yml}]
indent_size = 2
[*.{ts,js}]
max_line_length = 80

# XML Project Files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 2
[*.{tsx,jsx}]
max_line_length = 120

[*.{json,json5}]
max_line_length = 120

# Markdown Files
[*.md]
trim_trailing_whitespace = false

# Web Files
[*.{htm,html,css,scss,less}]
indent_size = 2
insert_final_newline = true

# Bash Files
[*.sh]
end_of_line = lf

0 comments on commit 431f9ac

Please sign in to comment.