mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 17:01:55 +08:00
Improve .editorconfig entries (#7344)
This commit is contained in:
+19
-5
@@ -1,14 +1,28 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
end_of_line = lf
|
||||
|
||||
[*.py]
|
||||
indent_style = space
|
||||
[*.{bzl,bazel}]
|
||||
indent_size = 4
|
||||
wrap_width = 80
|
||||
|
||||
[*.{hpp,hxx,h,cpp,cxx,cc,c}]
|
||||
indent_style = space
|
||||
[*.{h,hpp,hxx,cpp,cxx,cc,c}]
|
||||
indent_size = 2
|
||||
wrap_width = 90
|
||||
|
||||
[*.html]
|
||||
indent_size = 2
|
||||
|
||||
[*.java]
|
||||
indent_size = 2
|
||||
|
||||
[*.proto]
|
||||
indent_size = 2
|
||||
|
||||
[*.{py,pyx,pxd,pxi}]
|
||||
indent_size = 4
|
||||
wrap_width = 79
|
||||
|
||||
[*.sh]
|
||||
indent_size = 2
|
||||
|
||||
Reference in New Issue
Block a user