BaseTools/Ecc: Add some new checkpoints
1. Add a checkpoint to check NO TABs. 2. Add a checkpoint to check line ending with CRLF. 3. Add a checkpoint to check no trailing spaces. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen <hesheng.chen@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
@@ -72,6 +72,10 @@ GeneralCheckFileExistence = 1
|
||||
GeneralCheckNonAcsii = 1
|
||||
# Check whether UNI file is valid
|
||||
GeneralCheckUni = 1
|
||||
# Check Only use CRLF (Carriage Return Line Feed) line endings.
|
||||
self.GeneralCheckLineEnding = 1
|
||||
# Check if there is no trailing white space in one line.
|
||||
self.GeneralCheckTrailingWhiteSpaceLine = 1
|
||||
|
||||
#
|
||||
# Space Checking
|
||||
|
Reference in New Issue
Block a user