From 32ed3624fa8b29e661f9b3f8d52bf4c78b23b4eb Mon Sep 17 00:00:00 2001 From: Shenglei Zhang Date: Tue, 26 May 2020 15:27:31 +0800 Subject: [PATCH] MdeModulePkg/MdeModulePkg.ci.yaml: Add configuration for Ecc check Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Besides, add submodule path in IgnoreFiles section. Cc: Jian J Wang Cc: Hao A Wu Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao --- MdeModulePkg/MdeModulePkg.ci.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.ci.yaml b/MdeModulePkg/MdeModulePkg.ci.yaml index 0fc8c36338..1a7e955185 100644 --- a/MdeModulePkg/MdeModulePkg.ci.yaml +++ b/MdeModulePkg/MdeModulePkg.ci.yaml @@ -2,6 +2,7 @@ # CI configuration for MdeModulePkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { @@ -9,6 +10,19 @@ "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + "Library/BrotliCustomDecompressLib/brotli", + "Universal/RegularExpressionDxe/oniguruma" + ] + }, ## options defined ci/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "MdeModulePkg.dsc"