From b23a8eb1c3f80292c8eb40689106759fae83a4c6 Mon Sep 17 00:00:00 2001 From: Ladislas de Toldi Date: Thu, 11 Feb 2021 22:09:32 +0100 Subject: [PATCH] Add .editorconfig file --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..44ebb4567d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# Copyright (c) 2021 ARM Limited. All rights reserved. +# SPDX-License-Identifier: Apache-2.0 + +# Mbed OS Coding style spec for editors. + +# References: +# [EC] http://editorconfig.org/ + +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.yml] +indent_style = space +indent_size = 2