Lint trailing whitespace (#3230)
This commit is contained in:
1 parent
ae57ad0c81
commit
34c9d8be50
7 files changed
+17
-14
No files matched your search
@@ -591,6 +591,11 @@ def lint_inclusive_language(fname, match):
|
||||
)
|
||||
|
||||
|
||||
@lint_re_check(r"[\t\r\f\v ]+$")
|
||||
def lint_trailing_whitespace(fname, match):
|
||||
return "Trailing whitespace detected"
|
||||
|
||||
|
||||
@lint_content_find_check(
|
||||
"ESP_LOG",
|
||||
include=["*.h", "*.tcc"],
|
||||
|
||||
Reference in new issue
Block a user