Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Laszlo Ersek <lersek@...> Cc: Ard Biesheuvel <ard.biesheuvel@...> Cc: Leif Lindholm <leif@...> Signed-off-by: Shenglei Zhang <shenglei.zhang@...> Reviewed-by: Liming Gao <liming.gao@...>
Acked-by: Ard Biesheuvel <ard.biesheuvel@...>
--- ArmVirtPkg/ArmVirtPkg.ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ArmVirtPkg/ArmVirtPkg.ci.yaml b/ArmVirtPkg/ArmVirtPkg.ci.yaml index 27bb7ff49011..8b2c0305c175 100644 --- a/ArmVirtPkg/ArmVirtPkg.ci.yaml +++ b/ArmVirtPkg/ArmVirtPkg.ci.yaml @@ -5,6 +5,7 @@ # used for code analysis. # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR> # SPDX-License-Identifier: BSD-2-Clause-Patent ## { @@ -12,6 +13,17 @@ "LicenseCheck": { "IgnoreFiles": [] }, + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "<ErrorID>", "<KeyWord>" + ## ] + "ExceptionList": [ + ], + ## Both file path and directory path are accepted. + "IgnoreFiles": [ + ] + }, ## options defined .pytool/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "" # Don't support this test