fix: improve fixer of prefer-template
rule
#15230
+182
−1
Merged