From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B60F4C64EC7 for ; Tue, 28 Feb 2023 08:46:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CE88885ABB; Tue, 28 Feb 2023 09:46:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="GtAWAX1q"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A646885AC2; Tue, 28 Feb 2023 09:46:02 +0100 (CET) Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A3B6185AB6 for ; Tue, 28 Feb 2023 09:45:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dsankouski@gmail.com Received: by mail-ed1-x52d.google.com with SMTP id o12so36611412edb.9 for ; Tue, 28 Feb 2023 00:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kmdq9m0K0MHXSi5HHuDi+w1cgWsEtXlB55/3mYSd/gI=; b=GtAWAX1qErXSRXAHl5jn7fzDa9bQPZnqxAMh452jSW33CBGSL5QrOa3boXo4l1K1JR PMLqKT8FUmvYbI6Zsp4YLH3I4rZgsLeGNX46lJ6YQbFpOnmCKuytVPVxBg2I0nCsB/bq Sc9Ki0YGevJhtS4umcANPDHMUuztj1gXuPQaLdhaFMdWBVsmiNXsM8s4cpdPQZEd4pbV k4iTKTJLayk1ymBmFhCmswxIyqHkqDFHzTRFWb9PHXTuXOODfRzQBi83/FF6oBFaHipc Nhs8Y+B3gQt7thJJuR07hS6+Qj7MnGsViHa7BCXLpecakepw5VBWv0vxPie8u5pYMp7m zSYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kmdq9m0K0MHXSi5HHuDi+w1cgWsEtXlB55/3mYSd/gI=; b=K+mPbLVY5eH/TXz30BKGPJ9fYNqzHdilnclOr4uKoN3sHwk5+MoVKavNuAHNNk+phl J13Fa3eCXCT73zab8XHeeptLX+i6c9X4L25/kL/PqJAnw75j28H1za78b13oYkqMGBlY r3kWGz1AHDLoVgSoVTeZ92XGKzp1RsZU+nWeW/mryXv7OPjjHqyZZd+iCrmRJUmDLh9L ij4PvrMSMijDy3OmXf9yBQgjJ/jCgPGfqirACTj6WcT3ks3VoWCzOpXS992B3WjqtL2Z J1thwjM1f14eoXvKVzOMfs9tx5ulLnsq4l+0cl3fgE0I2FQUKgaEDYk21pT4mssZp+Rv UPdQ== X-Gm-Message-State: AO0yUKXdjC8TrmqCJfmQ0Km3wRiO9oB02B8u44+z0TzzpGyS5414ZQNs pEvbHUupHUiR8h6UqbzB35fv+thx3Bw= X-Google-Smtp-Source: AK7set8zPdsVBk/v4KL8FluvutHJKKIKz7FA3i3cOHRpvm7dfaiNB8J5j019bMPip6ThFhK1PvpXVg== X-Received: by 2002:aa7:d0c7:0:b0:4af:6227:39be with SMTP id u7-20020aa7d0c7000000b004af622739bemr2355159edo.32.1677573958934; Tue, 28 Feb 2023 00:45:58 -0800 (PST) Received: from debian.localdomain ([37.45.144.86]) by smtp.googlemail.com with ESMTPSA id u9-20020a50a409000000b004af515d2dd8sm4055332edb.74.2023.02.28.00.45.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 00:45:57 -0800 (PST) From: Dzmitry Sankouski To: u-boot@lists.denx.de Cc: Dzmitry Sankouski Subject: [PATCH 1/1] editorconfig: introduce .editorconfig Date: Tue, 28 Feb 2023 11:45:46 +0300 Message-Id: <20230228084546.1702171-2-dsankouski@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230228084546.1702171-1-dsankouski@gmail.com> References: <20230228084546.1702171-1-dsankouski@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Current process of sending patches includes running checkpatch.pl script for each patch, and fixing found style problems. Editorconfig may help to prevent some style related problems (like spaces vs tab indentation) on the fly. --- .editorconfig | 19 +++++++++++++++++++ .gitignore | 1 + 2 files changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..b8a413fda1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +; This file is for unifying the coding style for different editors and IDEs. +; Plugins are available for notepad++, emacs, vim, gedit, +; textmate, visual studio, and more. +; +; See http://editorconfig.org for details. + +# Top-most EditorConfig file. +root = true + +[{**.c, **.h}] +indent_style = tab +indent_size=8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[**Kconfig] +indent_size=4 + diff --git a/.gitignore b/.gitignore index 3a4d056edf..ed8ca226fe 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ # .* !.checkpatch.conf +!.editorconfig *.a *.asn1.[ch] *.bin -- 2.30.2