Enforce the following format: template<> void function<TYPE>() Rather than: template<> void function<TYPE>() This is the more common format in KiCad (about 8:1) and agrees with the uncrustify.cfg rules.