Skip to content
Permalink
Browse files
add .editorconfig
  • Loading branch information
Qix- committed Sep 11, 2018
1 parent 853853f commit 2d2509e26bf6df1e1954267e3b1a1cb83973fb09
Showing 1 changed file with 37 additions and 0 deletions.
@@ -0,0 +1,37 @@
root = true

This comment was marked as spam.

Copy link
@Kawhixie404

Kawhixie404 Apr 14, 2021

updata

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

[{*.json,*.json.example,*.gyp,*.yml,*.yaml}]
indent_style = space
indent_size = 2

[{*.py,*.asm}]
indent_style = space

[*.py]
indent_size = 4

[*.asm]
indent_size = 8

[*.md]
trim_trailing_whitespace = false

# Ideal settings - some plugins might support these.
[*.js]
quote_type = single

[{*.c,*.cc,*.h,*.hh,*.cpp,*.hpp,*.m,*.mm,*.mpp,*.js,*.java,*.go,*.rs,*.php,*.ng,*.jsx,*.ts,*.d,*.cs,*.swift}]
curly_bracket_next_line = false
spaces_around_operators = true
spaces_around_brackets = outside
# close enough to 1TB
indent_brace_style = K&R
Copy link
@jereytucker

jereytucker Mar 8, 2022

=

0 comments on commit 2d2509e

Please sign in to comment.