From 9384f947f3bf5bc953ec4ff1e984b0858ac453d0 Mon Sep 17 00:00:00 2001 From: Yaksh Bariya Date: Thu, 9 Feb 2023 18:12:41 +0530 Subject: [PATCH] chore(editorconfig): initial setup See https://editorconfig.org/. `.editorconfig` should help contributors by not having them to set up configs on their own sides for their code editor of choice. Editorconfig also has plugins for most commonly used code editors --- .editorconfig | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..1533ef51ba --- /dev/null +++ b/.editorconfig @@ -0,0 +1,35 @@ +[*] +trim_trailing_whitespace = true + +[*.{patch,.diff,.patch.*}] +trim_trailing_whitespace = false + +[*.sh] +indent_style = tab + +[*.py] +indent_style = space +indent_size = 4 + +[repo.json] +indent_style = space +indent_size = 2 + +[Dockerfile] +indent_style = tab + +[scripts/profile.json] +indent_style = space +indent_size = 4 + +[*.md] +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +[*.{yml,yaml}] +indent_style = space +indent_size = 2 + +[ndk-patches/*.h] +indent_style = tab