tools: refactor avoid-prototype-pollution
lint rule
#43476
Merged
avoid-prototype-pollution
lint rule
#43476