[BE][Easy] add .editorconfig setting for C/C++/CUDA/ObjC (#157692)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/157692
Approved by: https://github.com/ezyang
This commit is contained in:
Xuehai Pan
2025-07-07 11:43:31 +08:00
committed by PyTorch MergeBot
parent 987314aa96
commit bdacf08b86
2 changed files with 18 additions and 1 deletions

View File

@ -120,6 +120,7 @@ UseTab: Never
Language: ObjC
ColumnLimit: 120
AlignAfterOpenBracket: Align
IndentWidth: 2
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: false