Skip to content

Commit

Permalink
chore: update .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Sep 27, 2022
1 parent e63b640 commit 31b68f6
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,29 @@ root = true

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

[*.{diff,md}]
# go
[*.go]
indent_style = tab
indent_size = 4

# python
[*.{ini,py,py.tpl,rst}]
indent_size = 4

# rust
[*.rs]
indent_size = 4

# documentation, utils
[*.{md,mdx,diff}]
trim_trailing_whitespace = false

[*.{yml,rb}]
indent_size = 2
# windows shell scripts
[*.{cmd,bat,ps1}]
end_of_line = crlf

0 comments on commit 31b68f6

Please sign in to comment.