Skip to content

Commit

Permalink
feat: support EditorConfig https://editorconfig.org (#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
vytas7 committed May 24, 2023
1 parent d2981f6 commit 2543b27
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
@@ -0,0 +1,22 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a final newline; trim trailing whitespace
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# Set default charset for sources
[*.{html,js,py,pyx}]
charset = utf-8

# 4 space indentation
[*.{py,pyx}]
indent_style = space
indent_size = 4

# 2 space indentation
[*.{yaml,yml}]
indent_style = space
indent_size = 2

0 comments on commit 2543b27

Please sign in to comment.