Skip to content

Commit

Permalink
Update .editorconfig for more standards
Browse files Browse the repository at this point in the history
  • Loading branch information
N3Cr0N committed Mar 12, 2019
1 parent 4e60548 commit 34e1304
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,33 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

# Matches multiple files with brace expansion notation
[*]
# Space in JavaScript
[**.js]
indent_style = space
indent_size = 2

# Set default charset
charset = utf-8
# Tabs in Less
[**.less]
indent_style = tab
indent_size = 2

# Tabs in CSS
[**.css]
indent_style = tab
indent_size = 2

# Space in PHP
[**.php]
indent_style = space
indent_size = 4
indent_size = 4

# Tabs in HTML
[**.html]
indent_style = tab
indent_size = 2

0 comments on commit 34e1304

Please sign in to comment.