mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-06 03:51:24 +08:00
Infuriatingly, `git cl format` and our PRESUBMIT scripts enforce 4-space indentation for Python scripts, even though we use 2-space indentation everywhere else. This patch encodes that preference at the .editorconfig level. https://google.github.io/styleguide/pyguide.html#34-indentation Change-Id: Ibe31afe6cd48fe762e04578687802da61b4b935f Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2248197 Auto-Submit: Mathias Bynens <mathias@chromium.org> Commit-Queue: Paul Lewis <aerotwist@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
13 lines
171 B
INI
13 lines
171 B
INI
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 2
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.py]
|
|
indent_size = 4
|