mirror of https://github.com/astral-sh/ruff
Create .editorconfig (#290)
This commit is contained in:
parent
75d669fa86
commit
3960016d55
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Check http://editorconfig.org for more information
|
||||||
|
# This is the main config file for this project:
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
end_of_line = lf
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.{rs,py}]
|
||||||
|
indent_size = 4
|
||||||
Loading…
Reference in New Issue