related tdf#154946: check syntax in git pre-commit hook
Change-Id: If685f69227f98b194c124af0e28307d31edabf9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150752 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
parent
50837fdd60
commit
b1d341738d
@ -98,6 +98,10 @@ sub check_whitespaces($)
|
||||
{
|
||||
bad_line("OOXMLEXPORT definition used in a ooxmlimport file", $_, "cxx");
|
||||
}
|
||||
if ((/<toolbar:toolbaritem/) and not(/\/>/))
|
||||
{
|
||||
bad_line("Use /> to close toolbar:toolbaritem", $_, "xml");
|
||||
}
|
||||
if (/<property name="use[-_]markup">True<\/property>/)
|
||||
{
|
||||
bad_line("use font attributes instead of use-markup", $_, "ui");
|
||||
|
Loading…
x
Reference in New Issue
Block a user