diff --git a/GitScripts/check_for_bad_patterns.py b/GitScripts/check_for_bad_patterns.py index a84d552e3a..1058893cbd 100755 --- a/GitScripts/check_for_bad_patterns.py +++ b/GitScripts/check_for_bad_patterns.py @@ -141,6 +141,13 @@ def to_json( level=Level.WARN, suggestion=r"\1", ), + BadPattern( + re.compile(r"^\s*m_Loaders:(?! \[\])"), + "You must not enable OpenXR on any PR that is planned to be merged, otherwise Linux builds will break!", + filenames=[r".*\.asset$"], + level=Level.ERROR, + see_only=False, + ), ]