Skip to content

Commit

Permalink
Update .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
kitswas authored Oct 11, 2024
1 parent 8a1c979 commit c1fe153
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = crlf
end_of_line = lf
insert_final_newline = true

# Matches multiple files with brace expansion notation
Expand All @@ -21,18 +21,17 @@ indent_size = 4
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
[*.{cpp,h}]
[*.{cpp,hpp,c,h}]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true

# Indentation override for all JS under lib directory
[lib/**.js]
indent_style = space
indent_size = 2
# Indentation override for all JS
[*.js]
indent_style = tab
indent_size = 4

# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2

0 comments on commit c1fe153

Please sign in to comment.