Skip to content

Commit

Permalink
Update editorconfig settings for consistent code
Browse files Browse the repository at this point in the history
formatting
  • Loading branch information
Abildtoft committed Nov 16, 2023
1 parent 0722a30 commit 5d171e7
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
indent_size = 4
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 80
tab_width = 4

[*.scss]
indent_size = 2
tab_width = 2
quote_type = single

[*.js]
indent_size = 2
tab_width = 2

[*.ts]
indent_size = 2
tab_width = 2
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
[*.json]
indent_size = 2

0 comments on commit 5d171e7

Please sign in to comment.