Files
react-native-devtools-frontend/.editorconfig
T
Mathias Bynens 38a2433c36 Encode Python indentation style in .editorconfig
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>
2020-06-17 12:32:57 +00:00

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