Skip to content

Commit

Permalink
Format .editorconfig according to spec
Browse files Browse the repository at this point in the history
Comments start with "#" or ";", and no inline comments.
See: https://editorconfig-specification.readthedocs.io/
  • Loading branch information
stat1c-void authored and adamghill committed Nov 17, 2022
1 parent ff301b6 commit c055251
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
root = true

[*]
end_of_line = lf // Helps keep Windows, Mac, Linux on the same page since they handle end of line differently
# Helps keep Windows, Mac, Linux on the same page since they handle end of line differently
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true // Auto-trims trailing whitespace
insert_final_newline = true // Auto-adds a blank newline to the end of a file
# Auto-trims trailing whitespace
trim_trailing_whitespace = true
# Auto-adds a blank newline to the end of a file
insert_final_newline = true

[*.scss]
indent_size = 2 // More common to see 2 spaces in SCSS, HTML, and JS
# More common to see 2 spaces in SCSS, HTML, and JS
indent_size = 2

[*.html]
indent_size = 2
Expand Down

0 comments on commit c055251

Please sign in to comment.