mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 16:46:37 +08:00
Improve .editorconfig entries (#7344)
This commit is contained in:
+19
-5
@@ -1,14 +1,28 @@
|
|||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
|
indent_style = space
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
|
|
||||||
[*.py]
|
[*.{bzl,bazel}]
|
||||||
indent_style = space
|
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
wrap_width = 80
|
|
||||||
|
|
||||||
[*.{hpp,hxx,h,cpp,cxx,cc,c}]
|
[*.{h,hpp,hxx,cpp,cxx,cc,c}]
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
wrap_width = 90
|
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