Skip to content

Commit

Permalink
add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
taozuhong authored Aug 20, 2024
1 parent 6286f84 commit d85812b
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
root = true

[*]
charset = utf-8
end_of_line = crlf

[*.sql]
indent_size = 4
indent_style = space
insert_final_newline = true
tab_size = 4

[*.[ch]]
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 100
tab_width = 2

[*.py]
indent_size = 4
tab_size = 4
indent_style = space

[*.js]
indent_size = 2
tab_size = 2
indent_style = space

[*.css]
indent_size = 2
tab_size = 2
indent_style = space

[*.ui]
indent_size = 2
tab_size = 2
indent_style = space

[*.rst]
indent_size = 3
tab_size = 3
indent_style = space

[*.vala]
indent_size = 4
indent_style = tab
insert_final_newline = true
tab_size = 4

[*.{xml.in,xml}]
indent_size = 2
tab_size = 2
indent_style = space

[*.json]
indent_size = 4
tab_size = 4

[meson.build]
indent_size = 2
indent_style = space

0 comments on commit d85812b

Please sign in to comment.